purpleflame
New Member
- Messages
- 17
- Reaction score
- 0
- Points
- 0
I would like to make a script that outputs a different picture based on if the date. If the date is X then I would like to make it one picture. If the date is Y then I would like to make it output a different picture and so on. Also if the date does not match any of the ones I have set then I would like to have the default picture displayed. The only trouble I am having is that I do not know how to use php to compare the current date/time with some predefined one. I tried looking through the php info at http://www.php.net but I only learned how to display the date.
Thanks for the help. ^^
Thanks for the help. ^^