Three hours now and I still have sussed this…can anybody help!! I am such a newbie!
I want to display either Coming up or You’ve missed it for an event.
I need to set the event variable (the date and time of the event) and then check to see if the date and time have past or are coming up. I’ve ended up with this from I just don’t know where, and it still not working!
[php]<?php
$event3 = date(‘12-10-2013 10:00’);
if(time < $event3){
echo ‘Coming up’;}
else {
echo ‘You’ve missed it’;
}
?>[/php]
Please help if you are able and be kind to me! It been a terrible morning!