Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: Random Images

Parašė bauwbas· 2008 Geg. 14 20:05:37
#5

Dekui, nepyk, ne taip tave supratau, tiesiog supratau, kaip ateity.
_________________________________________________________
Paieskojau kaip liepei ir susiradau https://webdnd.com/infusions/cod...code_id=71

tai perdirbau, pagalsave jei kam reikes ateity ir nebeatsirastu tokiu kaip as tupu tai va

<?php
$arr = array("localhost/new/skins/counter/img/banner1.jpg","localhost/new/skins/counter/img/banner2.jpg",
"localhost/new/skins/counter/img/banner3.jpg",
"localhost/new/skins/counter/img/banner4.jpg",
"localhost/new/skins/counter/img/banner5.jpg",
"localhost/new/skins/counter/img/banner6.jpg",
"localhost/new/skins/counter/img/banner7.jpg",
"localhost/new/skins/counter/img/banner8.jpg",
"localhost/new/skins/counter/img/banner9.jpg",
"localhost/new/skins/counter/img/banner10.jpg");
$rand = rand(0,count($arr)-1);
echo"<img src=\"http://$arr[$rand]\"></a>";
?>

</SCRIPT>



Redagavo bauwbas· 2008 Geg. 14 21:05:47