Hello,
I have a line of code which basically reads like so:
If the current date is inbetween a start and end date (using greater than and equal to) and live =2
Code:
if(time() >= strtotime(''.$row->starts.'') && time() <= strtotime(''.$row->ends.'') && ($row->live == 2))
But how would I make that a not statement ie If the current date is NOT inbetween a start and end date and live =2?
I just can't get it right in my head!
Thanks