i followed the instructions. thank you. i submitted the form with the new code and this is the error message i received:
"You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '', '', '', '', '', '', '', '', '', '', '')' at line 3"
this is code as revised:
<?php
FileName="Connection_php_mysql.htm"
Type="MYSQL"
HTTP="true"
$hostname_babiesnmovies = "XXX";
$database_babiesnmovies = "XXX";
$username_babiesnmovies = "XXX";
$password_babiesnmovies = "XXX";
$con = mysql_pconnect($hostname_babiesnmovies, $username_babiesnmovies, $password_babiesnmovies)
or trigger_error(mysql_error(),E_USER_ERROR);
mysql_select_db("db337879506", $con);
$yourfirstname = $POST['YourFirstName'];
$yourlastname = $POST['YourLastName'];
$yourphonenumber = $POST['YourPhoneNumber'];
$youremailaddress = $POST['YourE-mailAddress'];
$babysfirstname = $POST['BabysFirstName'];
$babysmiddlename = $POST['BabysMiddleName'];
$babyslastname = $POST['BabysLastName'];
$babysbirthdate = $POST['BabysBirthdate'];
$babysage = $POST['BabysAge'];
$babysheight = $POST['BabysHeight'];
$babysweight = $POST['BabysWeight'];
$babyseyecolor = $POST['BabysEyeColor'];
$babyshaircolor = $POST['BabysHairColor'];
$babysethicity = $POST['Babys Ethnicity'];
$sql="INSERT INTO register (id, YourFirstName, YourLastName, YourPhoneNumber, YourEmailAddress, BabysFirstName, BabysMiddleName,
BabysLastName, BabysBirthdate, BabysAge, BabysHeight, BabysWeight, BabysEyeColor, BabysHairColor, BabysEthnicity) values ('$yourfirstname',
'$yourlastname', '$yourphonenumber', '$youremailaddress', '$babysfirstname', '$babysmiddlename', '$babyslastname',
'$babysbirthdate', '$babysage', '$babysheight', '$babysweight', '$babyseyecolor', '$babyshaircolor', '$babysethnicity')";
mysql_query($sql, $con) or die (mysql_error());
?>
and i will be sure to get a look at PDO...maybe not this instant but i will review the link. thanks. so can you give me a clue as to where my error is? if i knew how to get to it i may be able to see it through but as for now i can't see where it's at.