I'm very new with this. I need to make all of the random images below link to the same page. In other words I need to add a 'hotspot' to this script. The code below is how far I've got:
<?php
$img_array = glob("images/Coupons/*.{jpg}",GLOB_BRACE);
//Pick a random image from the array
$img = array_rand($img_array);
//Display the image on the page
echo '<img alt="'.$img_array[$img].'" src="'.$img_array[$img].'" />';
?>
Any help would be most appreciated.
Thanks!
~Marty