View Single Post
Old 01-27-2008, 02:57 PM  
just a punk
So fuckin' bored
 
just a punk's Avatar
 
Industry Role:
Join Date: Jun 2003
Posts: 32,388
Quote:
Originally Posted by TheSenator View Post
How can I make it look like this?
http://pages.etology.com/imp2/35743.php


I want to be able to rotate multiple ads at the same time.
PHP Code:
<table>
<tr>
<?php
$ads 
= array('<a href="http://www.cnn.com/">CNN</a>''<a href="http://www.ibm.com/">IBM</a>''<a href="http://www.microsoft.com/">Microsoft</a>',  '<a href="http://www.fhgstore.com/">FHG Store</a>',  '<a href="http://www.thesponsorfeeds.com/">The Sponsor Feeds</a>',  '<a href="http://www.real-bucks.com/">Real-Bucks</a>');
shuffle($ads);
for (
$i 0$i 5$i++) { echo '<td>'.$ads[$i].'</td>'; }
?> 
</tr>
</table>
__________________
Obey the Cowgod
just a punk is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote