bruce wrote:
or.. better yet.

if i do a php -> time(), i get a unix_timestamp var. how do you guys store
this in mysql. you can't simply do an insert into a mysql/timestamp var. so
how do you convert it?

I don't convert it.  I store the UNIX timestamp in an INT(11) column.

also, once you have the mysql tbl, how do you go from the mysql timestamp
var ->> the php var?

Since I keep it in the UNIX timestamp format, there's no converting between the two.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to