Re: inserting timestamp into mysql field

From: Date: Tue, 21 Sep 2004 15:31:27 +0000
Subject: Re: inserting timestamp into mysql field
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-197429@lists.php.net to get a copy of this message
luke@lukem.co.uk wrote:
Subject: inserting timestamp into mysql field hi there, i need to insert a current timestamp into a mysql field when a form is posted. can anyone suggest a simple way of doing this? i would like to set a variable in my php script to add into the insert statement. it needs to be in the format 00-00-00 00:00:00.
insert table set ......, date_added = NOW() mysql question by the way...

« previous php.general (#197429) next »