• 30-09-2007, 22:50:25
    #1
    <?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>";
    }
    
    
    
    ?>
  • 30-09-2007, 23:02:25
    #2
    hoş tşkler.
  • 01-10-2007, 23:03:45
    #3
    Üyeliği durduruldu
    Teşekkürler, işime yaradı