|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
Yo ppl. I've got a downloads page powered by PHP3 (soon to be 4) and MySQL. I want to sort the d/l's by TimeStamp, but it outputs the oldest first, so the new d/l's are at the bottom of the page URL Is there a way to reverse this?
|
|
#2
|
|||
|
|||
|
Just add this to your query (assuming that stamp is the name of the column continaing the timestamps):
ORDER BY stamp DESC Don |
|
#3
|
|||
|
|||
|
i'm currently using this:
SELECT * FROM files_art order by $srt limit $offset,$showamnt where the vars are user defined would using this: SELECT * FROM files_art order by $srt desc limit $offset,$showamnt work then? |
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > Reverse TimeStamp ordering |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|