Skip to content

Latest commit

 

History

History
10 lines (8 loc) · 583 Bytes

File metadata and controls

10 lines (8 loc) · 583 Bytes

Detect-Mobile-Network-from-Prefix-NG

PHP/MySQL Script that returns Nigerian mobile network name based on the prefix of the mobile phone number.

Usage

  • 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.