View Single Post
Old 05-09-2007, 12:40 PM  
k0nr4d
Confirmed User
 
k0nr4d's Avatar
 
Industry Role:
Join Date: Aug 2006
Location: Poland
Posts: 9,229
try this
<?
$array = array("http://www.domain.com/iframe_1.html","http://www.domain.com/iframe_2.html");
shuffle($array);
echo "<iframe src='$array[0]'></iframe>";
?>
k0nr4d is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote