KpC Posted February 13, 2009 Report Share Posted February 13, 2009 Jūs varētu pateikt php kodu priekš random bildes.. Es gribēju sev mājaslapā lai random banneris rādās main lapā.. Nevareju atrast šinī forumā.. Sry.. Link to comment Share on other sites More sharing options...
brazer Posted February 13, 2009 Report Share Posted February 13, 2009 kkā bija rand = <img src="images/<?php rand( ai hz. Link to comment Share on other sites More sharing options...
KpC Posted February 13, 2009 Author Report Share Posted February 13, 2009 Nebija kautkā šitā?: <?php $rand = <a href="http://links"><img src="bildes-links"></a> $rand2 = <a href="http://links"><img src="bildes-links"></a> rand = $rand, $rand2 ?> Link to comment Share on other sites More sharing options...
w4p1337 Posted February 13, 2009 Report Share Posted February 13, 2009 (edited) <? $randoms = rand(1,9); echo "<img src='"$randoms.".jpg' />"; ?> Edited February 13, 2009 by w4p1337 Link to comment Share on other sites More sharing options...
KpC Posted February 13, 2009 Author Report Share Posted February 13, 2009 Kur man rakstīt linku uz bildi un kur href? Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now