Re: Problem with mysql_query
| From: | Jeff Lewis | Date: | Tue, 20 Aug 2002 19:11:00 +0000 |
| Subject: | Re: Problem with mysql_query | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-113372@lists.php.net to get a copy of this message | ||
Please disregard, it was a silly problem (I was echoing the SQL query and
editing that, not the main SQL query).
Jeff
----- Original Message -----
From: "Jeff Lewis" <jeff@hyrum.net>
To: <php-general@lists.php.net>
Sent: Tuesday, August 20, 2002 3:04 PM
Subject: [PHP] Problem with mysql_query
mysql_query is returning an odd error. I don't know if I'm just totally
missing something or not but I keep getting this error:
mySQL Error: You have an error in your SQL syntax near ''LIMIT 25,25'' at
line 1
with this query:
SELECT * FROM dvd_library WHERE genre=BUDGET ORDER BY description ASC LIMIT
25,25
Does anyone else notice what the error is?