I am trying to pull the data from a table called COMMENTS, I want to get the highest id first, then the last.
If i use:
$result = mysql_query("SELECT * FROM COMMENTS order by id LIMIT $count,12", $db);
while($row= mysql_fetch_array($result))
{
print "id = $row[id]";
}
I get the results
id = 1
id = 2
etc...
How do I tell SQL to pull the items
id = 3
id= 2
id= 1