Skip to content

Latest commit

 

History

History
28 lines (24 loc) · 603 Bytes

README.md

File metadata and controls

28 lines (24 loc) · 603 Bytes

PHP script to import CSV data into MySQL database

A simple PHP script to import CSV data into MySQL database.

Prerequisites

PHP 5.5+
MySQL 
Apache2
phpMyAdmin

Installation

Clone or download zip to your machine.

Database configuration

  • Create a database with name: classes and import classes.sql file in mysql
  • Change the credentials in db_config.php file.
$db_host = ''; // localhost
$db_user = ''; // mysql username
$db_password = ''; // mysql password
$db_name = ''; // mysql database name

Run the project

http://localhost/phpcsvimporter