Thread
:
Adding images and ads to a wordpress blog
View Single Post
02-06-2009, 08:03 PM
TyroneGoldberg
Confirmed User
Join Date: Sep 2007
Posts: 1,081
i've been drinking and i'm in a happy mood
Quote:
<?php
$ad[] = "ad";
$ad[] = "ad";
$ad[] = "ad";
$ad[] = "ad";
$ad[] = "ad";
$ad[] = "ad";
shuffle($ad);
shuffle($ad);
echo $ad[0];
?>
this allows your ads to be rotated.
TyroneGoldberg
View Public Profile
Visit TyroneGoldberg's homepage!
Find More Posts by TyroneGoldberg