Random (rastgele) Resim ve Linki ( ACİL) |
28 Mesajlar | 3.737 Okunma |
$zzz = "select * from os_oyunlar order by rand() limit 10";
mysql_query("SET NAMES 'UTF8'");
mysql_query("SET character_set_connection = 'UTF8'");
mysql_query("SET character_set_client = 'UTF8'");
mysql_query("SET character_set_results = 'UTF8'");
$s = mysql_query($zzz);
echo "";
while ($ress = mysql_fetch_array($s))
{
$rid = $ress['id'];
$rres = $ress['resim'];
$orid = $ress['id'];
$radi = $ress['adi_s'];
$title = $ress['id'];
$oadi = $ress['adi'];
echo "";
}
echo "";
?>