Home  >  Article  >  Backend Development  >  用php 解析execl 的有关问题? + 急

用php 解析execl 的有关问题? + 急

WBOY
WBOYOriginal
2016-06-13 12:41:39790browse

用php 解析execl 的问题? + 急急急急急急
我php 解析execl 我用的是 php-excel-reader 工具 来解析的,但是 我现在的情况是这样的
问题一:我在读取execl 时发现读取出来的 execl 里面带有星号( * ) ,所以在存入数据库时,也是
有星号的,我想的办法是 将读取出来的星号,用空格代替,但是在存入数据库时,还是不行,不知道是不是我
的替代的位置写的不对。。

问题二:重点
客户给出的execl 里面分上下2 部分,上面 是一张表中的数据,下面是另一张表中的数据,所以就是下解析这儿execl 时,要将这execl 上面的数据 对应的存到对应的表中,下面的内容,存到对应的表中,就是说

execl :

上面 :A 表的内容

下面 :B 表的内容

现在要将execl 里面解析到的数据 ,对应的存入到对应的表中。。

PHP 解析execl
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
Previous article: php新人 Next article: windows php memcache扩充