Hey guys,
Im wanting to have this bit of code rewritten into PHP.
It basically checks the date pulled from the DB and if its only 2 days old, it displays a "new listing" image.
<%share_newlisting = DateDiff("d", rstDBEdit("share_datecreated"), now()) if share_newlisting < 2 then%> <div style="margin-top:5px"><img src="/images/new_listing.gif" width="81" height="15" align="absbottom"></div> <%end if%>