![]() |
simple query syntax question (ordering, displaying X latest)
Hi,
I have this code: PHP Code:
1 2 3 4 5 6 7 8 9 (let's say 9 is the most recently posted entry) I would like it to show only the 5 latest, with the top being the latest and bottom being the earliest of the 5. I want it to show: 9 8 7 6 5 Can anyone tell me what the syntax would be for this? |
Use this:
PHP Code:
|
Does that reverse the order though?
|
Use "ORDER BY postdate DESC"
|
Thank you so much, this is exactly what I was looking for :)
|
All times are GMT. The time now is 03:18 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|