NYCPHP Meetup

NYPHP.org

[nycphp-talk] storing phone numbers in MySQL

Chris Shiflett shiflett at php.net
Wed Mar 10 18:51:13 EST 2004


--- Chris Shiflett <shiflett at php.net> wrote:
> Yeah, although there's the theoretical problem of leading zeroes.

I should have mentioned that this only exists if you're using an int field
to store the number, which isn't what I do. I was just following along
with the conversation. :-)

I would go with using a varchar field and storing only the data, as Jeff
suggested.

Chris

=====
Chris Shiflett - http://shiflett.org/

PHP Security - O'Reilly
     Coming mid-2004
HTTP Developer's Handbook - Sams
     http://httphandbook.org/
PHP Community Site
     http://phpcommunity.org/



More information about the talk mailing list