Try echoing the actual query being run. It will give you more info to work with. Peter > -----Original Message----- > From: renato.linux@xxxxxxxxxxxxxxxxxxx > [mailto:renato.linux@xxxxxxxxxxxxxxxxxxx] > Sent: 02 November 2004 16:42 > To: php-db@xxxxxxxxxxxxx > Subject: 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 -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php