another query not working..

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Locked
FluxNYC
Forum Newbie
Posts: 6
Joined: Sun Mar 25, 2007 6:43 pm

another query not working..

Post by FluxNYC »

Solved. Ty
Last edited by FluxNYC on Wed Mar 28, 2007 6:18 pm, edited 1 time in total.
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post 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.
Locked