Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.
Moderator: General Moderators
ljCharlie
Forum Contributor
Posts: 289 Joined: Wed May 19, 2004 8:23 am
Post
by ljCharlie » Fri Oct 21, 2005 8:41 am
Does anyone know what this error means?
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 'LIMIT 0, 5' at line 1
The page was working fine last night but somehow this morning it gave me this error.
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Oct 21, 2005 8:45 am
you have syntax problems before it, likely..
ljCharlie
Forum Contributor
Posts: 289 Joined: Wed May 19, 2004 8:23 am
Post
by ljCharlie » Fri Oct 21, 2005 9:27 am
Thank you for the response. Any idea where I might check on my syntax?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Fri Oct 21, 2005 10:14 am
emit your query string and look it over.. or post the emitted string..