Random Image

<?php    
$images=array(‘a.jpg’,’b.jpg’,’c.jpg’,’d.jpg’);    
$image=$images[array_rand($images)];   
echo ‘<img src=”path/to/’.$image.'” />’;
?>

LEAVE A REPLY

Please enter your comment!
Please enter your name here

*