[snip] I put this right above like 871: print "<br><br>$_POST[domainregister_domain$i]<br><br>";
So now that "print" line is 871. It produces the exact same error as the mysql_query() line. [/snip] I should have mentioned this in my last email. You should try a print_r of the $_POST array. print "<pre>"; print_r($_POST); print "</pre>"; that will give you every value in the array and all of the array keys. I would probably put togethere the sql string like John Holmes' example. ('" . $_POST['domainregister_domain' . $i] . "', ... -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php