Konu
Haberleri Yorum Sayısına Göre Sıralama
01-12-2008, 22:04:21
#2
sweatcell
Üyeliği durduruldu
$query = 'select x.hbaslik,y.id,count(id) as top from haber x,yorum y where y.sayfa="haber" && y.onay="EVET" && x.haberno=y.id group by y.id order by top desc/asc';
şu şekilde olur herhalde...