/SQL-File-Import

Importing SQL File(DB table and its content) to database with PHP. You don't have to go through phpmyadmin

Primary LanguagePHPApache License 2.0Apache-2.0

SQL-File-Import

Importing SQL File(DB table and its content) to database with PHP. You don't have to go through phpmyadmin

Usage

  1. Create an empty database with the name "testing_import" in your phpmyadmin if using any of you LAMP, WAMP or XAMP stack
  2. Use the script in the index.php file
  3. Load it using your browser from your localhost
  4. Try upload an file.sql
  5. That's it

Note:

This repo is open to contributions, feel free to make corrections and make it better.