Click to See Complete Forum and Search --> : mysql arrange output w/php


marcusami
06-11-2008, 11:24 AM
I have a db going and im trying to get the newest input, or highest id to least id arrangement.

is this functionality already made like some query or will i just need to do some type of bubble sort with php and compare the ids?

Thanks alot
Marcus

sstalder
06-11-2008, 12:06 PM
Do you have an Auto Increment field setup in your table? If so(you should) then you can just use "ORDER BY id DESC" in your query.