Using the PHPExcel library, I am attempting to iterate over around 1500 rows, each row has about 25 columns.
I am using this code (taken from PHPExcel runs out of 256, 5
I would normally do this:
$objPHPExcel = $objReader->load($inputFileName); $rows = count($objPHPExcel->getActiveSheet()->toArray()); for ($start_row = 1; $start_row < $rows; $start_row ++) // ...
$excel->getActiveSheet()->toArray() will only return each row (with data) in an array.
$excel->getActiveSheet()->toArray()