casweeney / SQL-File-Import

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:Apache License 2.0


Languages

Language:PHP 100.0%