wierd error with MDB2 on a simple query
| From: | T A | Date: | Thu, 05 Apr 2007 13:44:06 +0000 |
| Subject: | wierd error with MDB2 on a simple query | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-27011@lists.php.net to get a copy of this message | ||
I get this error with getDebugInfo()
_doQuery: [Error message: Could not execute statement] [Last executed query: ] [Native code: 1064] [Native message: 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 '' at line 1]
The query : UPDATE users SET name='ne13', address='adess', city='city13', state='state13', country='usa13', zip='zip13', date='1984-8-19' WHERE user_id=1941
However runs Ok in phpmyadmin. Perhaps MDB2 adds something to the query which doesn't show?
_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/