Re: Php datetime

From: Date: Fri, 05 Mar 2004 02:30:46 +0000
Subject: Re: Php datetime
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-33317@lists.php.net to get a copy of this message
I've heard you want to use a TIMESTAMP field for that. > i have created a mysql table where i would like to store the date and time > whenever a user logs into a web site. the login is done through php/mysql > as > well but i'm not sure what the php code is to add the current date/time > into > a mysql database. the field in the db is created as a 'datetime' field.

« previous php.db (#33317) next »