Code:
<?php
$ads = array('<img src="1.jpg" width="128" height="96" align="bottom" alt="">', '<img src="2.jpg" width="128" height="96" align="bottom" alt="">', '<img src="3.jpg" width="128" height="96" align="bottom" alt="">', '<img src="4.jpg" width="128" height="96" align="bottom" alt="">', '<img src="5.jpg" width="128" height="96" align="bottom" alt="">', '<img src="6.jpg" width="128" height="96" align="bottom" alt="">', '<img src="7.jpg" width="128" height="96" align="bottom" alt="">', '<img src="8.jpg" width="128" height="96" align="bottom" alt="">', '<img src="9.jpg" width="128" height="96" align="bottom" alt="">', '<img src="10.jpg" width="128" height="96" align="bottom" alt="">');
shuffle($ads);
for ($i = 0; $i < 1; $i++) { echo ''.$ads[$i].' '.$ads[$i+1].'<br>'.$ads[$i+2].' '.$ads[$i+3].'<BR>'.$ads[$i+4].' '.$ads[$i+5].'<br>'.$ads[$i+6].' '.$ads[$i+7].'<br>'.$ads[$i+8].' '.$ads[$i+9].'<br>'; }
?>