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

mysql - where clause in inner join query -

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

php - MySQL Query for Advanced Search multiple criteria -