I think I am close, but not quite sure what I am doing wrong...
I am trying to send data from an HTML form into a mysql database using PHP. I have a file called Insert.php that I got from a tutorial, but I am missing something. When I try to run it, I don't get any errors, but when I go to the database, the data does not get there.
I have made sure all my names are the same between the db and php code. what else could be the problem?
I think I am not using the correct code to connect to the database. Here is the PHP file...
@mysql_select_db($database) or die( "Unable to select database");
$query = "INSERT INTO vol' ($First','$Last','$Phone','$EMail','$Child','$Grade','$Teacher','$RoomParent','$Classroom','$Projects','$TrackandField','$Other')";