Question: Please, I need PHP and HTML code for phone number validation, so if the user input phone number like these example below, print phone number
Please, I need PHP and HTML code for phone number validation, so if the user input phone number like these example below, print "phone number is vilad", otherwise print "phone number not vaild :
here example for valid phone number
xxxxxxxxxx xxx-xxx -xxxx xxx.xxx.xxxx (xxx) xxx xxxx
and here an example for not valid phone number :
(xxx)-xxx-xxxx (xxx-xxx-xxxx xxx)xxxxxxx xxx-.xxx-xxxx xxx-xxxxxxx xxxxxx-xxxx xxx xxx xxxx
Thank you,
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
