PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
<?
// Tower Ads intended for display below the navigation block
// The ad size needs to be 120x600 which is called a wide scyscraper
$ads = array(
array(
'insert ad 1 here'
),
array(
'insert ad 2 here'
),
),
);
$ad = $ads[array_rand($ads)];
echo $ad;
?>
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP
thanks that looks a lot better than what I have been able to figure out with PHP so far.
The idea I have is to say select some number of unique ads when constructing a page.
Games are plentiful compared to the amount of space in a page available. So selecting unique from the pool means at least a better chance of winning the viewer's interest?
Hardcore Games™ Legendary is the Only Way to Play™
My site is powered by LAMP