Home  >  Article  >  Backend Development  >  如何用php 导入excel 到mysql 数据库保存?

如何用php 导入excel 到mysql 数据库保存?

WBOY
WBOYOriginal
2016-06-23 14:26:10852browse

php excel mysql

我想做一个利用php 导入excel 到mysql 数据库保存,求大神帮我,有可以直接运行的案例法我一个,我加分谢谢!

回复讨论(解决方案)

phpexcel读取excel数据 然后插入mysql
OR 数据库管理软件navicat直接支持excel导入

PHP-ExcelReader,下载地址: http://sourceforge.net/projects/phpexcelreader 
Excel转成CSV 然后读取写入 

直接找个phpexcel插件,找下相应的例子就可以的。

我已经解决了,谢谢大家了!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn