Re:[Solved] [DB] Problem with DELETE TABLE
| From: | Marco Schuler | Date: | Mon, 08 Mar 2004 20:45:06 +0000 |
| Subject: | Re:[Solved] [DB] Problem with DELETE TABLE | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-11166@lists.php.net to get a copy of this message | ||
Am Mo, 2004-03-08 um 21.24 schrieb Chuck Hagenbuch:
> Quoting Marco Schuler <listworks@gmx.ch>:
> > "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
> Yes. Don't quote() whole SQL statements. Notice the double quotes in
> the error?
Thanks! It works now. Just don't know why quoting is a problem...
--
Grüsse
Marco