note 4225 deleted from function.getdate by bobby

From: Date: Fri, 08 Sep 2006 14:36:11 +0000
Subject: note 4225 deleted from function.getdate by bobby
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-116910@lists.php.net to get a copy of this message
Note Submitter: zparker at rpinteractive dot com ---- Re: timestamping w/ php + mysql. If you're writing a php script and just want a quick timestamp for mysql, there's an easier method. Create a field of type datetime, and then do the following: insert into blah (blah, tstamp) values ('blah', NOW()); of course, if you're doing something more complex than timestamping, then you'll need to use the php method. but for timestamping, this is less hassle. ;)

« previous php.notes (#116910) next »