<?php
include('database.php');

$tablo = "SELECT * FROM tablom ORDER BY rand() LIMIT 0,5";

$soru = mysql_query  ( $tablo ) ;
while  ( $degisken = mysql_fetch_array ( $soru ) ) {
$sayi = rand(0,4);
$r = rand(0,255);
$g = rand(0,255);
$b = rand(0,255);
$renk = dechex($r) . dechex($g) . dechex($b);
echo "<a href=\"$degisken[cekilen]\">
                    <font color=\"#$renk\" size=\"$sayi\">$degisken[cekilen]</font></a><br>";
}



?>