Hello,
I have two mysql DATA (YYYYMMDD) fields, and i want to compare them with the current date on my webserver. I want the current date to be belong DATE in the interval made by my two mysql fields. (of course i want this done in php)
ie. mysql : 2005-11-05 and 2005-11-21 and i want to know if our current date ( 2005-11-07 ) belongs in our given interval.
I have used several methods but they end up using to much code and i`m sure there is a shorter way.
Thanks for looking and i`m looking forward for your replies.