Hey all, just thought I'd post this for other people to use also.
Make sure to edit the $baseURL to be relevant to your banner folder on your site, and to edit the individual banner entries so that they reflect what you want them to show.
Text Formatted Code
// Set this to your URL including full path to images folder via HTTP
$baseURL="http:/domain.com/images/path/";
// Leave this set to 1 unless you are doing something funky with your banner rotation
$rand1=1;
// Change this value to the maximum number of banners that you have
$rand2=2;
// Banner Number 1
$Img1 = "image.png";
$Alt1 = "ALT text for this banner";
$Url1 = "http:/doamin2.com/";
$Desc1 = "Text to display with banner";
// Banner Number 2
$Img2 = "image.jpg";
$Alt2 = "ALT text for this banner";
$Url2 = "http:/domain3.com/";
$Desc2 = "Text to display with banner";
// ---------- No Need to Edit Below This Line Except to change Banner Layout ----------
$num = rand ($rand1,$rand2); // Calculate Random number to pick banner options
$Image = ${'Img'.$num};
$Alt = ${'Alt' .$num};
$URL = ${'Url'.$num};
$DESC = ${'Desc'.$num};
// ---------- End of NO EDIT Area ----------
// Setup Banner Layout here
$BANNER = "<div width=\"70%\" style=\"border:1px solid; padding:5px;\"><p><a href=\"".$URL."\"><img src=\"".$baseURL.$Image."\" alt=\"".$Alt."\" class=\"floatright\" /></a>".$DESC."</p></div>";
Print $BANNER;
Also, down here on the bottom: you can edit the $BANNER variable to properly mesh with your site.
I hope this helps somebody, cuz it took me forever to figure out how to do this correctly.