View Single Post
Old 09-29-2009, 09:55 AM  
whiskey dick
Confirmed User
 
whiskey dick's Avatar
 
Join Date: Nov 2008
Posts: 106
I use something like this
Code:
<?php
$bannerAd[1] = 'banner ad code';
$bannerAd[2] = 'banner ad code';
$adCount = count($bannerAd);
$randomAdNumber = mt_rand(1, $adCount);
echo $bannerAd[$randomAdNumber];
?>
whiskey dick is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote