Re: [PHP-DB] Inserting a date in to DATE field

2004-04-22 Thread John W. Holmes
Pambos Nicolaou wrote: Is there any MySQL command which inserts the date into a DATE field of a table automatically. For example the user inserts into the table several values (name, age, etc) and the date is inserted automatically. Set the column equal to NOW() or use a TIMESTAMP column (which

Re: [PHP-DB] Inserting a date in to DATE field

2004-04-22 Thread George Patterson
On Fri, 23 Apr 2004 01:32:36 + "Pambos Nicolaou" <[EMAIL PROTECTED]> wrote: > Hi everyone, > > Is there any MySQL command which inserts the date into a DATE field of > a table automatically. For example the user inserts into the table > several values (name, age, etc) and the date is inserted

[PHP-DB] Inserting a date in to DATE field

2004-04-22 Thread Pambos Nicolaou
Hi everyone, Is there any MySQL command which inserts the date into a DATE field of a table automatically. For example the user inserts into the table several values (name, age, etc) and the date is inserted automatically. Thanks in advance Pambos.