database - Excel file to mysql -


i creating web application collect specific data users. want user uploads excel file containing data on web page created , excel file stores data on mysql database. possible?how?

it's possible.

i convert excel file csv file, or make user upload csv file instead. excel has feature build in.

then in mysql can turn csv file tmp table ease:

load data low_priority local infile 'c:\\users\\desktop\\nameoffile.csv' replace table `tmp_table` character set latin1 fields terminated ';' lines terminated '\r\n';  

after transfer data tmp table tables you'd , delete temporary table.


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -