Automating Date in mySQL
| From: | Todd Williamsen | Date: | Sat, 02 Feb 2002 19:47:46 +0000 |
| Subject: | Automating Date in mySQL | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16445@lists.php.net to get a copy of this message | ||
I want the date to automatically be updated. So if a post was made on
2/10/2001 I would like it to put it automatically in the database.
I do have a column called "Date" and the datatype is set to date. But when
I add a record even if the sql states to insert the date it doesn't, or does
the date need to be manually added?
Thanks