RE: [PHP] Want to exclude first 10 records from table

From: Date: Wed, 16 Oct 2002 07:45:33 +0000
Subject: RE: [PHP] Want to exclude first 10 records from table
Groups: php.general 
Request: Send a blank email to php-general+get-120128@lists.php.net to get a copy of this message
select * from forum order by postdate desc LIMIT 10, -1 Assuming you are using MySQL of course. See the official documentation for further assistance: http://www.mysql.com/doc/en/SELECT.html -----Original Message----- From: Manisha [mailto:manisha@aurica.com] Sent: Wednesday, 16 October 2002 4:44 PM To: php-general@lists.php.net Subject: [PHP] Want to exclude first 10 records from table I am having forum table. First 10 records are treated as Current postings and rest are treated as Archive. I know how to take first 10 select * from forum order by postdate desc LIMIT 10 But I do not know how to take postings excluding above 10. I do not want to make use of loop rather I want to do this in one single query as I need to pass this to some further include files. Thanks in advance Manisha -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

« previous php.general (#120128) next »