-
Quick PHP Question...
Does anyone know the include i need to use to show a new picture everyday from a specific directory on one of my pages?
For example, if i have a directory named /pics/ with 365 images in it named 01-365.jpg what do i need to include on my .php page to make a new image show daily to my surfers?
TIA for any help.
Regards,
Lee
-
do you wan't it randomnized or ordered (day1 = pic1, day2=pict 2)
????
i can do the .php script to include if you wan't
arth
-
here it is ordered
<img src="pics/<?php echo date('z'); ?>.jpg>
will do <img src="pics/273.jpg"> for today's pict
arth