The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
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? |
#2
|
|||
|
|||
Use this:
PHP Code:
|
#3
|
|||
|
|||
Does that reverse the order though?
|
#4
|
|||
|
|||
Use "ORDER BY postdate DESC"
|
#5
|
|||
|
|||
Thank you so much, this is exactly what I was looking for
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|