Function that Loads a Random Image from an Array
Try to use array_rand function, code will look cleaner: 

&lt;?php
function displayRandomPhotoArea() 
{
    $photoAreas = array("imageURL1", "imageURL2", "imageURL3", "imageURL4", "imageURL5");

    $randomNumber = array_rand($photoAreas);
    $randomImage = $photoAreas[$randomNumber];

    echo "&lt;img src=\"$randomImage\" width=\"725\" height=\"194\"&gt;";
}

displayRandomPhotoArea();
?&gt;