Re: [DB] Problem with DELETE TABLE
| From: | Chuck Hagenbuch | Date: | Mon, 08 Mar 2004 20:24:05 +0000 |
| Subject: | Re: [DB] Problem with DELETE TABLE | ||
| References: | 1 2 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11164@lists.php.net to get a copy of this message | ||
Quoting Marco Schuler <listworks@gmx.ch>:
Oops, that was a copy-past-error! I was trying something different and coppied the wrong line. "DELETE FROM users" does not work too. :-( ErrMsg: DB Error: syntax error UsrMsg: 'DELETE FROM users' [nativecode=1064 ** 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 ''DELETE FROM users'' at line 1] Any hints?Yes. Don't quote() whole SQL statements. Notice the double quotes in the error? -chuck -- "Regard my poor demoralized mule!" - Juan Valdez