$sorgu = mysql_query("SELECT * FROM 4images_images where cat_id IN (1,3,4) ORDER BY image_date DESC LIMIT 8");
$r = 0;
echo "<table align=\"center\" width=\"100%\" class=\"tablebg\">\n";
while($s = mysql_fetch_array($sorgu)) {
if ($r % 4 == 0) { echo "<tr>\n"; }
?>
ekteki gibi bi tablo oluşturdum
burda (1,3,4) yerine populer sorgusundan gelene göre göstermesini istiyorum.nasıl yapabilirim acaba?