Issue with date() function...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I have a variable:
    $rec2day = date("Y-m-d");
that displays correctly when echoed to the screen, but when I write it to my 
DB, I get the mathmatical answer to the equasion (1989 (2005-06-10)).

What do I need to do to correct this??

TIA 

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux