If it makes you feel better, it's a site only for Canada.
Jeff
- Original Message -
From: "Justin French" <[EMAIL PROTECTED]>
To: "Jeff Lewis" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Tuesday, September 10, 2002 7:35 PM
Subject: Re: [PH
The problem you have is that not all phone numbers share that format... mine
for example (Australia) is 61 3 (that is, CountryCode, State,
Exchange, Number). So it depends on who will fill out your form... if
you're talking international, you may want to think twice.
It never ceases to
http://www.webreference.com/programming/php/regexps/5.html
Here's a short article that shows how to write a function to validate an
ausie phone number (2nd example). Should be easy to modify to suit.
perhaps using something like
ereg("[0-9]{3}-[0-9]{3}-[0-9]{4}$", $phoneNum);
Another at http:/
Just wondering what the best way to validate an entered phone format is? Is
anyone doing this currently?
I have a form field that people enter in information and I want to force
phone entries to XXX-XXX-.
Jeff
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http:/
4 matches
Mail list logo