I am using this code for Condtion but I dont know why the condtion is going False
<tr
<?php if ($LevelName['Status'] == 'Yes') { ?>
style="background:#DCFEB7"
<?php } ?>
<?php elseif (strtotime(date('Y-m-d h:i')) > strtotime($LevelName['ReportTime'])) { ?>
style="background:red"
<?php } ?>
<?php else { ?>
style="background:orange"
<?php } ?>
>
I don't know why the backgound color not going to Red
getting this result in condition:
(Todat Date)392291420 > (DB Date)1392336360