Any idea why this wouldn't put data in my DB? I've been staring at this all afternoon, so I'm probably just missing something stupid. The confirmation message at the bottom is displayed, so I know this section of code is being run. When I do a select all from the registrations, I get an empty set returned.
$db = mysql_connect("localhost", "root");
mysql_select_db("visitdays",$db);
$result = mysql_query("INSERT INTO registrations (
Title,
FirstName,
LastName,
Email,
Street,
City,
State,
Zip,
Semester,
Status,
Date,
NumPeople,
SchoolSession)
VALUES (
'$Title',
'$FirstName',
'$LastName',
'$Email',
'$Street',
'$City',
'$State',
'$Zip',
'$Semester',
'$Status',
'$Date',
'$NumPeople',
'$SchoolSession')
");
echo "Thank you! Your information has been received.\n<br>We look forward to seeing you on ";
printf ($Date);
echo ".";