MOBILE NUMBER VALIDATOR

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
tenkodoy
Forum Newbie
Posts: 1
Joined: Wed Jun 21, 2017 10:15 am

MOBILE NUMBER VALIDATOR

Post by tenkodoy »

I am to create a php form which accepts certain kinda of mobile numbers. It should tell you when the mobile number is wrong. I am a newbie in programming so I need help
User avatar
Christopher
Site Administrator
Posts: 13596
Joined: Wed Aug 25, 2004 7:54 pm
Location: New York, NY, US

Re: MOBILE NUMBER VALIDATOR

Post by Christopher »

Learn about regular expressions: http://php.net/manual/en/function.preg-match.php

If you search for something like "preg_match mobile number validate" you will probably find code you can use.
(#10850)
Post Reply