for($s = 0;$s<$sheetcount;$s++) {
$currentsheet = $_phpexcel->getsheet($s);
$allcolumn = $currentsheet->gethighestcolumn();
$allrow = $currentsheet->gethighestrow();
for($r = 1;$r<=$allrow;$r++){
for($currentcolumn='a';$currentcolumn<=$allcolumn;$currentcolumn++){
$address = $currentcolumn.$r;
$newexcel[] = $currentsheet->getcell($address)->getvalue();
}
}
}
如对本文有疑问, 点击进行留言回复!!
网友评论