Need help with conditional formatting of table rows...
What i need to acheave is to change table row background in red if date_needed is <= than 48 hours than now().
This is what i have now
if (date('d',strtotime($data['date_needed'])) <= 2) $row["rowstyle"]='style="background:red"';
it works in a way... It changes background color for 1. and 2. of the month, but that is not what i need...
Must mark rows where dedline is less or equal to 48 hours.