eiseng
asked on
How to mark something by date and keep it marked if date has pasted?
I have this code to display a msg if the date is set. But I need to have the script say completed even though the day has past. Have it set up for reports so people can see if it is completed or not. But It works if it is the current day but I need it to say completed after that date has pasted also. But say Not Completed if the day has not pasted.
Thanks
Thanks
$d=date("Y/m/d");
if ($d=="2007/11/18")
$msg = "<font color='green'>Completed</font>";
else
$msg = "<font color='red'>Not Completed</font>";
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER