If you run more than one ads, but lack of space to put the ads, you can actually rotate the ads.
The code below will create a random number from 1 to 10. Since I want both ads to be shown with a probability of 50%, I put the condition if (x > 5). You can change this number.
<?php $x = rand(1,10); ?>
<?php if ($x > 5) { ?>
<!--your first ad code-->
<?php } else {?>
<!--your second ad code-->
<?php } ?>
You can read more about PHP rand() function here.
Creates the exact copy of your hard disk and allows you to instantly restore the entire machine.
New Acronis True Image Home 2010 is the most reliable and easy in use backup solution. Now with online backup option!
15% Discount Code: FMAATIH2010
New Acronis True Image Home 2010 is the most reliable and easy in use backup solution. Now with online backup option!
15% Discount Code: FMAATIH2010








Nice info there, thanks, I was searching for the code and now I can implement it on my blog! keep giving more helpful information.
perghhhhh too techie la for me. hehe
KNizam: You just need to copy and paste it to the place where you want it to appear in the template file.