I have a bit of PHP code, that at the moment doesn't work.
I'm trying to show all the 'overdue' projects in a different style:
Code: Select all
<?php if ($row_rsProjects['projdue'] == '= DATE(NOW())') { ?>
<tr class="overdue">
<?php } else if ($row_rsProjects['projdue'] == '< DATE(NOW())') { ?>
<tr class="duetoday">
<?php } else { ?>
<tr class="within">
<?php }?>works with MySQL, but I don't know how to get it to work with PHP. Any ideas?'= DATE(NOW())'