Re: Phone number validation

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

 



On Sun, Mar 12, 2006 at 01:48:28PM -0700, Paul Goepfert wrote:
> On 3/12/06, Curt Zirzow <czirzow@xxxxxxxxx> wrote:
> >
> > With US phone numbers I always use this approach to avoid what
> > format people use to enter the phone:
> >
> 
> >   - Remove any non digit $check_phone =
> >   preg_replace('/[^0-9]/', '', $phone);
> 
> I just want to be sure about something.  Is there a second
> quotation mark missing?  I only count one and I added a space
> between the quotes.

I'm not sure what you're seeing but the line reads like this:

  http://pastebin.com/598522


Curt.
-- 
cat .signature: No such file or directory

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux