Re: Adding an DATETIME as a string to a mySQL databse....
| From: | (Richard Lynch) | Date: | Wed, 12 Jul 2000 23:08:20 +0000 |
| Subject: | Re: Adding an DATETIME as a string to a mySQL databse.... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6335@lists.php.net to get a copy of this message | ||
In article <B5920F6A.4BA5%mattias@popwire.com>, mattias@popwire.com
(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!)