|
|
|
|
|
|
|
|
|
|
|
#1 |
|
Just because I don't care doesn't mean I don't understand!
Join Date: Feb 2004
Posts: 92
|
Hello Halfdeck and Oast, thank you both for the info.
I have one more question if you don't mind. Would you happened to know of a php code to show a picture of the day, not random. Show a new picture each day that would draw from a large list of pictures, say a years worth, 365? Thanks again, Dunkin |
|
|
|
|
|
#2 |
|
With $10,000, we'd be millionaires! We could buy all kinds of useful things like ... love!
|
PHP has a lot of date related functions, so a list of 365 pictures could be put into an array and a key could be pulled out corresponding to the day of the year.
date(z); gives you a number from 0-365 http://www.php.net/date Here is a simple POTD consisting of 365 images using seperate thumbnails and links to fullsize images PHP Code:
HTH Steve
__________________
Playboy Webmasters - The name says it all! $35 per signup or 60% revshare. Last edited by oast; 2006-01-12 at 05:46 PM.. |
|
|
|
![]() |
|
|