Re: date problem

From: Date: Mon, 18 Feb 2002 14:20:50 +0000
Subject: Re: date problem
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-85196@lists.php.net to get a copy of this message
Mysql? INSERT INTO table VALUES (NOW()); -- Julio Nobrega. Um dia eu chego lá: http://sourceforge.net/projects/toca Ajudei? Salvei? Que tal um presentinho? http://www.submarino.com.br/wishlistclient.asp?wlid=664176742884 "Eoghan" <eoghan@cinehub.com> wrote in message news:NEBBIJOEKLJOKAJPBOOHMEAACDAA.eoghan@cinehub.com... > hello > > i am running into some trouble with a very basic problem. > i want to insert the current date/time into my db. i have > the field set up as a datetime field. when i submit info, > i just get a blank date, i mean it all zeros, like > 0000-00-00 00.00:00:00. how do i insert the current datetime > into my db? i tried using a hidden field with a foramtted > gmt date value, but its not working... any help > > thanks - eoghan

« previous php.general (#85196) next »