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 will be set to NOW() when the row is created or updated unless you specify a specific value).

---John Holmes...

Amazon Wishlist:

php|architect: The Magazine for PHP Professionals –

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to