In this procedure firstly convert .xls file into .csv format(using save as .CSV). After this open the file into any notepad and then edit it to proper format so that it may be inserted into the DB. Just like
INSERT INTO `table name'(`column1`,`column2`)
Values (‘value1′,’value2’),(‘value3’,value4)
For the the shorter way is that open the file in MS EXCEL and before each Column insert a new column with some special characters. Also insert a column after the last column.
Add special characters like#$# for first new inserted column $#$ for all midlle new inserted column and &#& for the last column. Now open this .csv file into notepad and replace
,#$# with (‘
,$#$, with ‘,’
,&#& with ‘),
Now replace exactly last character of the file that is ( , ) with ;
now put INSERT INTO and VALUES keywords at proper places copy that data into sql of phpmyadmin and execute
That has done alll
cheers