SlicedCheese
22-10-2005, 10:22 AM
Heres a really simple script that you can use to create a Random Banner, it's php so you will need a host that supports php. You can get javascript ones of these, but this isnt as short.
<?php
$banner[1]="banner1url.png";
$banner[2]="banner2url.png";
$banner[3]="banner3url.png";
$random = rand(1, count($banner);
?>
My brother posted this on HabboForum for me as i am banned but im not banned on this so i will post it personally.
Then place this whereever you want the banners
<img src="<?php echo $banner[$random]; ?>">
<?php
$banner[1]="banner1url.png";
$banner[2]="banner2url.png";
$banner[3]="banner3url.png";
$random = rand(1, count($banner);
?>
My brother posted this on HabboForum for me as i am banned but im not banned on this so i will post it personally.
Then place this whereever you want the banners
<img src="<?php echo $banner[$random]; ?>">