Quote:
Originally Posted by cellarius
add
to your if-condition.
|
This didn't do it.
Maybe I explained wrong:
When the result of
Code:
$days_left = intval(365 - ((time() - $last_meeting) / 86400)) + 1;
is
less then 365 days it should display the result from "$days_left"
If the result of
Code:
$days_left = intval(365 - ((time() - $last_meeting) / 86400)) + 1;
is
more then 365 days it should display "overdue"
Thanks for trying to help guys.
Appreciate it