To the user's inputtype"file"multiple-choice upload .cvs.xls file, PHP is responsible for inserting each row of data into the database. Is there any plug-in for implementation? Can you give the rough demo or plug-in? Thank you for giving the user an input type = "file" option for uploading. cvs. in the xls file, PHP is responsible for inserting each row of data into the database. Is there any plug-in to implement this? Can you give a rough demo or plug-in? Thank you.
Reply content:
Input type = "file" to upload the. cvs. xls file. PHP is responsible for inserting each row of data into the database. Is there any plug-in for this? Can you give a rough demo or plug-in? Thank you.
I used phpExcel to read the data and inserted it into the database.
PhpExcel functions correspond to the official excel APIs one by one. You can open any xls file to view the help documentation. If not, go to the Microsoft official website to search.
If you can't find it, this is the link to WPS documentation: http://www.wps.cn/wpsapi/treeshow/tree-WPS.htm and Microsoft are almost the same