Thread: POTD script
View Single Post
Old 11-04-2005, 05:25 AM  
budz
Disruptive Innovator
 
budz's Avatar
 
Industry Role:
Join Date: Sep 2003
Location: Vegas
Posts: 4,230
btw to use that would be something like
PHP Code:
<img src=<?php echo date("m/d"). ".jpg"?>>
which would end up displaying "<.img src=11/04.jpg>"
minus the period in the img tag

where 11 is the m and 04 is the d

so each month 01-12 has a folder with 01-31 pics in it
( 31 pics to be safe w/out writing more code )
__________________
C:\Code\
C:\Code\Run\
budz is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote