Re: DB_QueryTool and DATE ?

From: Date: Fri, 08 Jul 2005 13:53:57 +0000
Subject: Re: DB_QueryTool and DATE ?
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-19915@lists.php.net to get a copy of this message
Hi Martin,
When I do mytab->save($data) and I have a field with DATETIME. What do I have to pass into my array so there gets executed the NOW() mysql function?
$data['myDateTimeField'] = date('Y-m-d H:i:s'); HTH Regards, -- Lorenzo Alberton http://pear.php.net/user/quipo

« previous php.pear.general (#19915) next »