Home >Backend Development >PHP Tutorial > php导入excel到mysql 怎么删除空行

php导入excel到mysql 怎么删除空行

WBOY
WBOYOriginal
2016-06-13 13:38:141997browse

php导入excel到mysql 如何删除空行
PHP-ExcelReader 把excel 导入到mysql 但是excel里如果有空行的话 导入到 mysql里 就出现一条空数据 怎么办啊 求各位大佬 谢谢您类

------解决方案--------------------
入库之前对每条记录做个判断 为空跳过
贴代码出来看看

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