mktime question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux