MSV FM

dot.antimicrobial@66.96.161.157: ~ $
Path : /hermes/sb_web/b744/singletaryrodandgun.com/_old/
File Upload :
Current < : /hermes/sb_web/b744/singletaryrodandgun.com/_old/test.php

<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>scholarshipTest Results</title>
</head>
/* Author: Lynn Grande
Last modified: October 26
This script adds the scholarship info.
*/
<h1>Welcome to the Broward Public Schools Scholarships Page</h1>
<?php
$scholarshipName = $_POST['scholarshipName'];
$offeredBy = $_POST['offeredBy'];
$description = $_POST['description'];
$link = $_POST['link'];
$offeredBy = $_POST['offeredBy'];
$deadlineDate = $_POST['deadlineDate'];
$con=mysqli_connect("localhost","phpuser","phpp@ss","browardPublicTest");
// Check connection
if (mysqli_connect_errno())
  {
  echo "Failed to connect to MySQL: " . mysqli_connect_error();
  } 

mysqli_query($con,"INSERT INTO scholarships (name, description, deadlineDate, offeredBy,link ) 
VALUES ($scholarshipName, $description, $deadlineDate, $offeredBy, $link )");

mysqli_close($con);  
?>  
<h2>Thank you for entering scholarship information!</h2>
<body>
</body>
</html><ol></ol>