This is very strange. I have page to process the form submission that is to insert the data into the table and send an email of the entered data. However the data is not being inserted into the table. I've got the include the the email script and that is woking fine. In fact, I had the email include right after the db connect string, but have now moved it to under the INSERT INTO string. The meial is still working fine but it's as if tthe INSERT string is being ignored. I've messed with the string to give me an error, but I can't get it to give me an error. Very confusing. Here's what I have.
include('dbconnect.php');
$sql = "INSERT INTO volunteer('LastName','Address,City','State,Zip',email,WorkPhoneNumber,
HomePhoneNumber,CellPhoneNumber,NoOfAdults,ChildrenQuantity,Child-1,Child-2,Child-3,
Child-4,Child-5,Child-1-Gender,Child-2-Gender,Child-3-Gender,Child-4-Gender,Child-5-Gender,Child-1-Age,
Child-2-Age,Child-3-Age,Child-4-Age,Child-5-Age,Pets,Smoker,NearPublicTransit,Handicapped,Employment,
Additional_Information)
Values('$FirstName','$LastName','$Address','$City','$State','$Zip','$email','$WorkPhoneNumber',
'$HomePhoneNumber','$CellPhoneNumber','$NoOfAdults','$ChildrenQuantity','$Child-1','$Child-2','$Child-3',
'$Child-4','$Child-5','$Child-1-Gender','$Child-2-Gender','$Child-3-Gender','$Child-4-Gender',
'$Child-5-Gender','$Child-1-Age','$Child-2-Age','$Child-3-Age','$Child-4-Age','$Child-5-Age','$Pets',
'$Smoker','$NearPublicTransit','$Handicapped','$Employment','$Additional_Information')";
include('volunteer_info-email.php');