Import an Excel file in MySql Database using php

welcome back to, In this tutorial, we will see how to Import an Excel file in Mysql database. In the First step we will create a Database to insert an excel data into Mysql table, a form to make a view to upload an Excel Sheet and also create a PHP script to perform operation to insert data into Database.

Create Database

To Insert excel sheet data into MySql database, we need to create a database named as ‘test_excel’ and also create a table named as ‘excel_sheet’

Also Read :
How to Install PHP on CentOS.
How to integrate Razorpay Payment Gateway using PHP.

PHP Login Script With Remember me.
Change password using javascript, php and mysqli.
Password and Confirm Password Validation Using JavaScript
Check Email is Already Registered in Database using Ajax and JavaScript.
How to hide extension of html and php file.?


after creating database , we move on the config.php page.. here we make a database connection.


after creating database , we move on the index page.. in the index page we take a csv file from our computer and redirect it to functions.php page . where we check that the file which is selected is CSV  or not.


In this page we catch the file and check it , if our file is  csv than it import into database otherwise it shows the error and redirect to index.php page.

Keep Learning..

Improve your website Ranking with Social Media SEO meta Tags

Welcome back to, todays post is about meta tags.

Meta Tags are one of the most basic elements of SEO(search engine optimization). The search engines reads the meta tags to get a summarized idea of what your site is about and what exactly your keywords are.Meta tags list your site in Top.Meta tags are located inside your html’s head area.

Important attributes of meta tag:

How to make package in java ?

Today we will learn how to make package in java, but before making java package , first of all we should know about what is java package ,and why it needs.? Basically package are like folders which contain java class files.package are made when we want to use some set of code or values in another decrease the size of program.when we make any project we make package so the program become readable and usable.when we make package we can import it any program.