Page 1 of 1

another query not working..

Posted: Wed Mar 28, 2007 3:31 pm
by FluxNYC
Solved. Ty

Posted: Wed Mar 28, 2007 3:37 pm
by volka
Please use the same "fixes" as in viewtopic.php?t=65632
i.e.
- error_reporting(E_ALL) and display_errors=On
- mysql_real_escape instead of addslashes
- $_POST['camp_id'] instead of $_POST[camp_id], see http://www.php.net/manual/en/language.t ... rray.donts
- error handling vie mysql_error and/or mysql_errno

The error is caused by one field name, but please adjust the script first.