Parašė botanik· 2010 Vas. 21 12:02:35
#11
<?php
$array = array();
$array[1] = "<a href='http://www.niekamnesakyk.lt'><object width='468' height='60'><embed src='http://img402.imageshack.us/img402/7702/didelis.swf' width='460' height='60' wmode='transparent'/></object></a>";
$array[2] = "<a href='http://www.niekamnesakyk.lt'><object width='468' height='60'><embed src='http://img402.imageshack.us/img402/7702/didelis.swf' width='460' height='60' wmode='transparent'/></object></a>";
$num = count($array);
$random = rand(1, $num);
echo "$array[$random]";
?>