Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2000071

Re: [PHP] Adding an DATETIME as a string to a mySQL databse.... From: Richard Lynch (richard <email protected>)
Date: 07/12/00

In article <B5920F6A.4BA5%mattias <email protected>>, mattias <email protected>
(Mattias Hedman) wrote:

> When I build the string using DATE("Y-m-d H:i:s") in PHP and inserts it into
> the database the only thing that gets added in the row is DATETIME default
> value (0000-00-00 00:00:00).

Is that a format MySQL will accept? check http://www.MySQL.com

-- 
Richard Lynch                | If this was worth $$$ to you, buy a CD
US Customer Support Director | from one of the artists listed here:
Zend Technologies USA        | http://www.L-I-E.com/artists.htm
http://www.zend.com          | (this has nothing to do with Zend, duh!)

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>