Hello,
I am using php to randomly display images using this code:
<?
$array = file('random.php');
shuffle($array);
for ($i=0; $i<1; $i++) {
echo $array[$i];
}
?>
My problem is their is randomly no image being displayed on the site, I have pleanty of images in the images folder that php is picking out from tandom.php.
Any help would be great
Thank You.