php ile rasgele sıralanan resimler yapmak

<?php

$numbers = range(1, 4); // 4 tane resim varsa
shuffle($numbers);
foreach ($numbers as $number) {
echo '<img src="https://foreverautohits.com/img/manuel_'.$number.'.jpg"/>';
}

?> 

test için http://www.phptester.net adresini kullanabilirsiniz.

 

Yorumlar

Bu blogdaki popüler yayınlar

ForeverAutoHits manuel surf hediye kodu

NoFollow Backlink ve DoFollow Backlink Listesi

php ile herhangi bir siteden title ve description bilgisini alma