Syntax error Mysql for LIMIT
Posted on 2009-02-20
Hi, I'm getting a syntax error for the following line:
$query_limit_Articles = sprintf("%s LIMIT %d, %d", $query_MEM, $startRow_Articles, $maxRows_Articles);
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 'Resource id #8 LIMIT 0, 5' at line 1
My MySQL version is 5.0.67
I'm not sure what to do different.
Any help is appreciated, thanks.