|
Why not just have an array of images and use:
<?php
srand((float) microtime() * 1000000);
$images = array('image1', 'image2', 'image3', ....);
echo $images[array_rand($images)];
?>
Or you could use javascript.
__________________
PHP-MySQL-Rails | ICQ: 342500546
|