I can't figure this. Can this be done alone with mysql, or there are somethings I need to do with php script.Let say I have many ip range stored in the database one of them is, 18.104.22.168 - 22.214.171.124. The table structure is like this
Let say someone accessed a website and his ip is 126.96.36.199. Now with this ip, it should get name1 from customer name column as it's is in the range of 188.8.131.52 - 184.108.40.206.
ip customer name
220.127.116.11 - 18.104.22.168 name1
22.214.171.124 - 126.96.36.199 name2