Skip to content

aniruddhasm/phpcsvimporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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