|
Posted by Ron Eggler @ work on 06/27/05 12:09
Hi,
why does "$date = date(y-m-d);" return following (with
error_reporting(E_ALL))
Notice: Use of undefined constant y - assumed 'y' in
/srv/www/htdocs/web2/html/php/nospam/pop.php on line 48
Notice: Use of undefined constant m - assumed 'm' in
/srv/www/htdocs/web2/html/php/nospam/pop.php on line 48
Notice: Use of undefined constant d - assumed 'd' in
/srv/www/htdocs/web2/html/php/nospam/pop.php on line 48
and it just writes 0000-00-00, why? :(
Thanks!
Navigation:
[Reply to this message]
|