RE: [PHP] Parse error in mysql_query()

From: Date: Mon, 22 Dec 2003 19:10:06 +0000
Subject: RE: [PHP] Parse error in mysql_query()
Groups: php.general 
Request: Send a blank email to php-general+get-173180@lists.php.net to get a copy of this message
[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] . "', ...

« previous php.general (#173180) next »