|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
This is a ponderment in have
I'm building a news engine for my website using MySQL/PHP now.... i have my table (date, time, comment, body) for submissions now i was thinking of sticking in ID... and having php grab by 4, 3, 2, 1, 0 in that order as autoassigning an id starts at 0 and goes up *is* *this* *possible*?! or do i have to figure out another way of doing this? : thnx Ted |
|
#2
|
|||
|
|||
|
Select * from table_name order by id desc limit 5;
|
![]() |
| Viewing: Dev Shed Forums > Databases > MySQL Help > is it possible to do a select by descending |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|