how to compare mobile number with country code and without country code in php codeigniter -


How to compare the mobile number in PHP

For example,

The first number is 9999999999 and the second number is + 9 99 99 99 99 99

Now it is equivalent to matching this number 2 or not.

Assume that all mobile number 10-digit ( Even that has not come, which is not), just the comparison of the last 10 characters will not be easy, two strings?



Comments

Popular posts from this blog

php - PDO bindParam() fatal error -

logging - How can I log both the Request.InputStream and Response.OutputStream traffic in my ASP.NET MVC3 Application for specific Actions? -

java - Why my included JSP file won't get processed correctly? -