On Monday 28 February 2000 19:15, you wrote:
> How can I insert time and date into mysql table,
> if the table i have to insert has a field of type time, and a field of
> type date.
>
> Then how can I insert it in PHP, if I use time() function??

Look at the MySQL manual, function FROM_UNIXTIME()

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

"Never doubt that a small group of thoughtful, committed people can
change the world...
Indeed, it's the only thing that ever has."

- Margaret Mead

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to