$query = mysql_query("SELECT * FROM tablename");
// you need to find out how many rows there are.
$rows = mysql_num_rows($query);
$i = $rows;
while ($rows < $i) {
$query = mysql_query("SELECT id FROM tablename");
echo mysql_result($query, $i);
$rows++;
}
I think that will reverse the output from 1,2,3,4 to 4,3,2,1
If its not, its something in the while loop.
The mysql code is correct as far as i know!
Mark