note 19984 added to function.date
| From: | evildoguk at aol dot com | Date: | Mon, 18 Mar 2002 10:35:49 +0000 |
| Subject: | note 19984 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27900@lists.php.net to get a copy of this message | ||
an easier way of entering the date into mysql would be to set the date tables date field to
0000-00-00 and use the below(edited from above)
mysql_query("INSERT INTO date_table VALUES ('$name', NOW())",
$db_connection);
--
http://www.php.net/manual/en/function.date.php
http://master.php.net/manage/user-notes.php?action=edit+19984
http://master.php.net/manage/user-notes.php?action=delete+19984
http://master.php.net/manage/user-notes.php?action=reject+19984