Re: How to change pictures everyday using php



Luigi Donatello Asero wrote:
>
> I am wondering how I could let change pictures on a page
> automatically everyday.

Let's say you have a directory called images, and in it you
have files named mm-dd.jpg (so, for example, there is file
for May 28 called 05-28.jpg). Now all you need to do is:

$picture = 'image/' . date('m-d') . '.jpg';
echo "<img src='$picture'>\r\n";

Cheers,
NC

.