I have a very simple database table of posts, I’d like to be able to print the most recent entry first, followed then by the next most previous entry etc etc when I retrieve them all . How do I do this?
$someText = mysql_query("SELECT * FROM text");
while($row = mysql_fetch_array($someText)) {
echo "$row[column]";
}
You have to order them by
idordateor something else. (ASCorDESC)This might do the trick if you’ve added them in the correct order.