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
Post a Comment