Actaully, I am trying to do something similar to this:
<?
$displaystatus = "$row[status]";
if(($displaystatus) == 'C') {
$displaystatusvar = "";
}
if(($displaystatus) == 'P') {
$displaystatusvar = "
<table border=0 cellspacing=1 width=100%>
<tr>
<td width=100% bgcolor=#FFFF00>
<p align=center><font size=2><b>Sale Pending</b></font></td>
</tr>
</table>
";
}
echo $displaystatusvar;
?>
See, this script looks at $row[status] and if It is 'C' does nothing...if it is 'P' is displays HTML.
I want to do EXACTLY the same thing with mod_date_time....only I want to display HTML code only if the date is between 30 days ago and today.