1 simple file :

Code: 
<?php
$advert = array(); 

$advert[] = '<a href="#" target="_blank"><img src="#"></a>';
$advert[] = '<a href="#" target="_blank"><img src="#"></a>';
$advert[] = '<a href="#" target="_blank"><img src="#"></a>';
$advert[] = '<a href="#" target="_blank"><img src="#"></a>';
$advert[] = '<a href="#" target="_blank"><img src="#"></a>';

shuffle($advert); 
echo $advert[0];
?>
Call it what ever you-want.php and alter the links to suit your needs, you can add as many links as you wish.

Then add this to where you want to display the banners:

Code: 
<?php include("your-file.php"); ?>
Change the above from your-file.php to what ever you called the file

Upload the file to your server and thats it

Hope that helps a little, its a noob script but it works, please feel free to develop

Cheers
RR
roadrunner Reviewed by roadrunner on . Simple PHP banner rotator for you all 1 simple file : <?php $advert = array(); $advert = '<a href="#" target="_blank"><img src="#"></a>'; $advert = '<a href="#" target="_blank"><img src="#"></a>'; $advert = '<a href="#" target="_blank"><img src="#"></a>'; $advert = '<a href="#" target="_blank"><img src="#"></a>'; Rating: 5