問題描述
我試圖搜索一些插件來將 Excel 文件導入 MySQL 數據庫,其中之一是 http://code.google.com/p/php-excel-reader/
I tried to search for some plugins to import Excel file into MySQL database, one of them is http://code.google.com/p/php-excel-reader/
該工具功能強大,可以將整個 excel 內容顯示為 html.
The tool is so powerful that it displays the entire excel content into html.
但是,我覺得我只需要讀取Excel文件并提取內容,例如放入數組,然后編寫SQL語句進入數據庫即可.
However, I think I just need to read the Excel file and extract the contents, for example, into an array, and then write a SQL statement for entering into the database.
有沒有好的代碼和包?謝謝!
Would there be any good codes and packages? Thanks!
推薦答案
這是最好的插件,有適當的文檔和示例
This is best plugin with proper documentation and examples
加分點:您可以在其討論論壇中尋求幫助和你會在一天之內得到作者本人的回復,真是令人印象深刻.
Plus point: you can ask for help in its discussion forum and you will get response within a day from the author itself, really impressive.
這篇關于PHP 將 Excel 導入數據庫 (xls & xlsx)的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網!