RE: [PHP-DB] Problem with script
| From: | Peter Lovatt | Date: | Tue, 02 Nov 2004 17:08:47 +0000 |
| Subject: | RE: [PHP-DB] Problem with script | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-37152@lists.php.net to get a copy of this message | ||
Try echoing the actual query being run. It will give you more info to work
with.
Peter
> -----Original Message-----
> From: renato.linux@desertcomputers.com
> [mailto:renato.linux@desertcomputers.com]
> Sent: 02 November 2004 16:42
> To: php-db@lists.php.net
> Subject: [PHP-DB] Problem with script
>
>
> Hi all, greetings from Phoenix, Arizona!
> I'm having a problem with a PHP script and the database it manages.
> I'm having his error message:
>
> Query failed: You have an error in your SQL syntax. Check the manual that
> corresponds to your MySQL server version for the right syntax to use near
> 't read card','1099413551')' at line 1
>
> I don't know what is happening, usually the database works well but
> sometimes this strange error appears. I'm sending you the scripts in where
> I think the error could be.
>
> Any suggestion or comment will be very appreciated.
>
> Thanks
>
> Renato