You can use this code in the area you want the ad:
PHP Code:
<?php
$fcontents = join ("", file ("banner_ads.txt"));
$s_con = split("~",$fcontents);
$banner_no = rand(0,(count($s_con)-1));
echo $s_con[$banner_no];
?>
and create a text document named "banner_ads.txt" in the same directory.
In that text document include the following text.
Code:
YOUR FIRST AD CODE
~
YOUR SECOND AD CODE
~
YOUR THIRD AD CODE
~
etc.....