Home >Backend Development >PHP Tutorial > PHPExcel循环读取excel,列数超过z,比较出有关问题

PHPExcel循环读取excel,列数超过z,比较出有关问题

WBOY
WBOYOriginal
2016-06-13 13:18:071551browse

PHPExcel循环读取excel,列数超过z,比较出问题

PHP code
<!--

Code highlighting produced by Actipro CodeHighlighter (freeware)
http://www.CodeHighlighter.com/

-->

for($currentColumn= 'A';$currentColumn


------解决方案--------------------
for($i='A'; $i!='AP'; $i++) echo $i;

ABCDEFGHIJKLMNOPQRSTUVWXYZAAABACADAEAFAGAHAIAJAKALAMANAO
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