On PHP3 where $row["art_date"] == 2002-05-03, 
$thedate resolves to "Thurs, May 2, 2002"  

YESTERDAYS DATE!

See for yourself, if you wish, here:
http://www.endvaw.org/current.php3

What gives.

$row = mysql_fetch_array($result);
$blah = eregi_replace("-", "/", $row["art_date"]); 
$thedate = date("D, M d, Y", strtotime($blah)); 

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to