You are here: Re: FRONTPAGE IMAGE REFRESH « HTML « IT news, forums, messages
Re: FRONTPAGE IMAGE REFRESH

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация