roadrunner
Active Member
1 simple file :
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:
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
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