> as a string.  MySQL's TIMESTAMP is not the same thing as PHP's.

Let me be the devil's layer here, Erik.

In order to achieve the best portability and to gain the best
performance you'd better use mySQL date field types to store the dates.
If you need the PHP timestamps you can simply use another date function
of mySQL (which was that?) on the SELECT and receive your data already
in UNIX timestamp values.

There's no way you can prove to me that PHP's timestamp is better in the
mySQL's varchar(20) (20?? Why not 10 then and why not INT? Enough or the
next 320 years or so... we just recently turned to 10m) instead of the
simple timestamp(14).


Maxim Maletsky
Founder, Chief Developer

PHPBeginner.com (Where PHP Begins)

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

Reply via email to