mysql php help while ($row= mysql_fetch_array($result)) {?

piki to to loss

New member
HI i have a program tht can search through my table on my database and display the output with a while loop

while ($row= mysql_fetch_array($result)) {
$var=$row['var'];
echo $var;
}
this code works perfect! but how could i make my results display as most recent first?
like how can i make the while loop execute backwards so that it will grab the most recent first?
thanks for any input!
 
Back
Top