php Banner Rotator Script
Hello everyone... so I am new to ALL of this and I am already getting very nice CPA results (using cpatrend.com) compared to my adsense account.
I have a very strong background in .php and .asp and this came to very good use when I was applying for the different cpa offers.
I searched the forum and didn't find any "source code"/direct scripts that will help you out other than wordpress scripts.
Here's a simple/small raw php script that will rotate content for you!
In my situation I am using 728x90 banners:
<?php
$advert = array();
$advert[] = '<a href="link 1 here"><img src="banner 1 image here"></a>';
$advert[] = '<a href="link 2 here"><img src="banner 2 image here"></a>';
$advert[] = '<a href="link 3 here"><img src="banner 3 image here"></a>';
shuffle($advert);
echo $advert[0];
?>
if you have any questions or need any help just post them up!
-
willmartinapj -
Thanks
{{ DiscussionBoard.errors[2824811].message }} -
-
flashing2008 -
Thanks
{{ DiscussionBoard.errors[2852272].message }} -
-
littlekid -
Thanks
{{ DiscussionBoard.errors[2853403].message }} -
-
vikas529 -
Thanks
{{ DiscussionBoard.errors[10126220].message }} -
-
ss2k -
Thanks
{{ DiscussionBoard.errors[10128676].message }} -