inquisitive Posted September 5, 2008 Share Posted September 5, 2008 Anyone see anything wrong with this???? $form1 = $_POST["textfield1"]; $form2 = $_POST["textfield2"]; $form3 = $_POST["textfield3"]; $form4 = $_POST["textfield4"]; $form5 = $_POST["textfield5"]; $form6 = $_POST["textfield6"]; $form7 = $_POST["textfield7"]; $form8 = $_POST["textfield8"]; $form9 = $_POST["textfield9"]; $form10 = $_POST["textfield10"]; $form11 = $_POST["textfield11"]; $form12 = $_POST["textfield12"]; $query = "INSERT INTO newsletter_signup VALUES ('$form1','$form2','$form3','$form4','$form5','$form6','$form7','$form8','$form9','$form10','$form11','$form12')"); $result = mysql_query($query) or die(mysql_error()); Link to comment https://forums.phpfreaks.com/topic/122883-formphpmysql-help/ Share on other sites More sharing options...
php_dave Posted September 5, 2008 Share Posted September 5, 2008 You have an extra close bracket at the end of this line $query = "INSERT INTO newsletter_signup VALUES ('$form1','$form2','$form3','$form4','$form5','$form6','$form7','$form8','$form9','$form10','$form11','$form12')"); should be $query = "INSERT INTO newsletter_signup VALUES ('$form1','$form2','$form3','$form4','$form5','$form6','$form7','$form8','$form9','$form10','$form11','$form12'); Apart from that no. Link to comment https://forums.phpfreaks.com/topic/122883-formphpmysql-help/#findComment-634697 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.