|
Author |
Message |
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Sun Jun 08, 2003 12:59 pm (21 years, 6 months ago) |
|
Hi,
I am using the current line of PHP to pull the latest 10 article headlines out of my database containing them :
Code: | @$outcome=mysql_query("SELECT * FROM articles ORDER BY adate DESC,atime DESC LIMIT 10"); |
What I want to do however, is not pull the latest article out of the DB, I want to pull the next ten AFTER the latest article, I can't remember the code you use for this, anyone can help?
Thanks |
|
|
|
|
Justin
4WebHelp Addict
Joined: 07 Jan 2002
Posts: 1060
|
Posted:
Sun Jun 08, 2003 1:37 pm (21 years, 6 months ago) |
|
It's okay, worked out how to do it :
Code: | @$outcome=mysql_query("SELECT * FROM articles ORDER BY adate DESC,atime DESC LIMIT 1,10"); |
|
|
|
|
|
|
|
You cannot post new topics in this forum. You cannot reply to topics in this forum. You cannot edit your posts in this forum. You cannot delete your posts in this forum. You cannot vote in polls in this forum.
|
Page generation time: 0.135191 seconds :: 17 queries executed :: All Times are GMT
Powered by phpBB 2.0
© 2001, 2002 phpBB Group :: Based on an FI Theme
| |