Konu
Hit'e Göre Sıralama :(
29-04-2010, 15:44:26
#11
ByTriSLaSiS
$sonuc
=
mysql_query
(
"SELECT id, ad, hit FROM yazilar ORDER BY hit DESC LIMIT 5"
);
while(
$satir
=
mysql_fetch_assoc
(
$sonuc
)){
$link =
$satir
[
'hit'
];
//echo $satir['id']; //yazı idi
//echo $satir['ad']; //yazı adı
}
echo '<a href="index.php?git='.$link.'">Hit</a>';
mantık
kod detaylı olsa arkadaşlar detaylı yardım ederdi sen neye göre link vermek istiyorsun oda var