this is the banner code
Code: Select all
<td width="223"><img src="themes/Nice_Blue/images/logo.png" width="435" height="99" vspace="5" hspace="5"></td>
Code: Select all
<?
$alllogos = array
("themes/nice_blue/images/logos/logo1.png", "themes/nice_blue/images/logos/logo2.png", "themes/nice_blue/images/logos/logo3.png");
$totallogos = (count($alllogos));
$nmbr = (rand(0, ($totallogos)));
?>
<tr>
<td width="223"><img src="<? echo$nmbr?>" width="435" height="99" vspace="5" hspace="5"></td>
But it failed ^^ greatly, could anyone give me a hand? =P