Blog Archives

Import excel or csv fields into mysql database in php


Import excel or csv fields into mysql database in php. <?php //connect to the database $connect = mysql_connect(“localhost”,”pramodh”,””); mysql_select_db(“pramodh”,$connect); //select the table // if ($_FILES[csv][size] > 0) { //get the csv file $file = $_FILES[csv][tmp_name]; $handle = fopen($file,”r”); //loop through

Tagged with: , , , , , , , , , ,
Posted in Import excel or csv fields into mysql database in php, php
Follow Tutorial on WordPress.com
categories
Calendar
November 2025
M T W T F S S
 12
3456789
10111213141516
17181920212223
24252627282930
Blog Stats
  • 88,734 hits
Design a site like this with WordPress.com
Get started