[table sql stupid spam filter]

On Tue, 4 Sep 2001, [EMAIL PROTECTED] wrote:

> order by articleId desc limit 1 , 20

That will cause no rows to be returned if there are less than 20 results.
Use this instead:

ORDER BY articleId DESC LIMIT 0, 20

It starts counting at 0 instead of 1.



---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to