php - How to make MySQL sort rows form the Latest created -
i have doubt here, there way can tell mysql align or sort out rows newest oldest, example created 2 rows in database first 1 hi world , second 1 hello world,instead of showing latest show's alpabatically want show newest oldest how have kind effect? i've tried using select * pages order postid asc
not work! please me.
the browse tab of pages table:
the structure tab of pages table:
use
select * pages order postid desc
to show latest first (asc ascendent)
Comments
Post a Comment