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

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

WBOY
Release: 2016-06-13 13:38:14
Original
1985 people have browsed it

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

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

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template