Jump to content

display text depending on date


anarchoi

Recommended Posts

hi, i'm still new with php and i would just like to display some text depending on today's date, but independently from the year

 

exemple: I'd like to echo "Hi" at march 7th, each year, and only for the duration of this day

 

could anyone give me a part of code that would do this?

 

thanks a lot :)

Link to comment
https://forums.phpfreaks.com/topic/95007-display-text-depending-on-date/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.