mktime question
| From: | js | Date: | Sat, 07 Feb 2004 19:50:48 +0000 |
| Subject: | mktime question | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-32839@lists.php.net to get a copy of this message | ||
i have a page that displays an essay someone has written. and people who come to the site can submit
comments. the comments are taken quickly in a form and posted. everything is posting perfect except
for the time.... to get the time i dont know what to use? time() or date() or mktime() ??? im really
stuck. i dont know how to submit the time to the MySQL database so it takes the correct format for
the time area. i have a substr() script that formats it when it is retrived and displayed, but i do
not know how to make the INSERT INTO with the time. if you can help me out i thank you!
-james