RE: [PHP] Update Query - Urgent
| From: | Mark Roedel | Date: | Tue, 23 Oct 2001 13:35:05 +0000 |
| Subject: | RE: [PHP] Update Query - Urgent | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-71942@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: Srinivasan Ranganathan [mailto:linux_devel@yahoo.co.in]
> Sent: Tuesday, October 23, 2001 7:22 AM
> To: php-general@lists.php.net
> Subject: [PHP] Update Query - Urgent
>
>
> I have a php script generate a sql update statement.
> when i query the database, the update doesn't happen.
> but when i echo the sql string and copy and paste it
> in my mysql client window, the update happens like it
> should!
After the update fails, does an 'echo mysql_error()' tell you anything
useful?
---
Mark Roedel | "Blessed is he who has learned to laugh
Systems Programmer | at himself, for he shall never cease
LeTourneau University | to be entertained."
Longview, Texas, USA | -- John Powell