You are here: Re: How to change pictures everyday using php « All PHP « IT news, forums, messages
Re: How to change pictures everyday using php

Posted by Luigi Donatello Asero on 10/13/21 11:26

Hello NC,
your suggestion from the 30th of may 2005 works except for it seems to lack
"alt".
Given that I would like to use about 30 photos on a the page below, so that
I could use 30 pictures in a month having one picture every day, and that I
would use only an alternative text for all the pictures, where
should I write the alternative text in the code?
<?php
$picture='https://www.scaiecat-spa-gigi.com/bilder/'.date('m-d').'.JPG';
echo"<img src='$picture'>\r\n";
?>
Of course it would be better to have an alternative text for each picture,
but I thought it would be easier to begin with one text.



--
Luigi Donatello Asero
(sono italiano ma vivo in Svezia)
(я итальянец но я живу в Швеции )
( 我是 意大利人 , 但是 我 主 在 瑞典)
(minä olen Italian kansalainen, mutta minä asun Ruotsissa)
https://www.scaiecat-spa-gigi.com/it/svezia/vaestra-goetaland/goeteborg/amundoen.php

 

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

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