|
Posted by Rik on 07/20/06 02:50
MohitAggarwal2@gmail.com wrote:
> i have tried different html codes but have come up empty. i have tried
> using php codes and same result. i have heard that this html code is
> fairly easy to manage.
Hmmz, how hard is it to:
<?php
$images = array('image1.jpg', 'image2.jpg, 'image3.jpg'......);
$rand = mt_rand(0, (count($images-1));
echo '<img scr="'.$images[$rand].'" alt="You_do_provide_an_alt_do_you?"/>';
?>
Grz,
--
Rik Wasmus
Navigation:
[Reply to this message]
|