I''m new to the rsort command. How could I rsort this by image id? Any Ideas would be greatly appreciated.
$result = mysql_query("SELECT * FROM nuke_Submit_Art WHERE category = 'painting'");
if ($result){
if (mysql_num_rows($result) > 0){
while ($row = mysql_fetch_assoc($result)){
echo "<td>{$row['imageID']}</td></tr>\n";
echo "<tr><td><img src=\"{$row['thumbPath']}\"></td>\n";
}
}
}