PHP/MySQL Script that returns Nigerian mobile network name based on the prefix of the mobile phone number.
- Create a MySQL database
- To add the mobile prefix table to your database, IMPORT the mobile_network_prefixes_ng.sql
- Open the detect_mobile_network.php file with a text editor, edit the database parameters and other necessary variables
- Run the detect_mobile_network.php on a web server
You can add more mobile number prefixes to the database table as more number prefixes are added to the mobile networks in the country.