Thanks Duble_E & Donncha,
I finally pieced together a solution that works, though I'm not sure if it's the best or most efficient:
$article_date = $row[5];
$newdate = mktime(0, 0, 0, date("m")-1,date("d"), date("Y"));
$article_date_array = explode("-", $article_date);
$article_year = $article_date_array[0];
$article_month = $article_date_array[1];
$article_day = $article_date_array[2];
$article_timestamp = mktime(0, 0, 0, $article_month , $article_day, $article_year);
if ($article_timestamp > $newdate) {
$newStr = "<img src='../images/new_icon.gif' width='31' height='12' hspace='0' vspace='0' border='0' align='middle' alt='new!'>";
} else {
$newStr = "";
}
Cheers,
johnn@roleplayingtips.com
http://www.roleplayingtips.com