$data = $cell->getValue(); 沒有g(shù)etValue 方法
foreach($objExcelFile?->getWorksheetIterator()?as?$sheet) { ????//循環(huán)每行 ????foreach($sheet?->getRowIterator()?as?$row) ????{ ????????//循環(huán)每列 ????????foreach($row?->getCellIterator()?as?$cell) ????????{//獲取單元格數(shù)據(jù) ????????????$data?=?$cell->getValue(); ????????} ????} }
2022-03-29