RE: [PHP] Re: Updating rows in a MySQL database with PHP

2001-11-27 Thread Martin Towell
Original Message- From: Fred [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 28, 2001 3:32 PM To: [EMAIL PROTECTED] Subject: [PHP] Re: Updating rows in a MySQL database with PHP Nothing is being updated because $id is empty and in fact is not even set. You need to pass the id via a hidden fo

[PHP] Re: Updating rows in a MySQL database with PHP

2001-11-27 Thread Fred
Nothing is being updated because $id is empty and in fact is not even set. You need to pass the id via a hidden form variable in order to get the results you expect. In the future I suggest always debugging your scripts by echoing your variables so that you can determine if they contain what you