
Marco Muciņo - 2011-09-02 03:28:44
list($num_cols, $num_rows) = $xlsx->dimension();
$dataRows = $xlsx->rows(); //<-- Why this is not working?
echo "Number of rows: $num_rows<br />";
echo "Number of rows: " . count($xlsx->rows()) . '<br />';
echo "Number of rows: " . count($dataRows) . '<br />';
This program outputs the next:
Number of rows: 32796
Number of rows: 30708
Number of rows: 44051
The first number is the real number of rows of my worksheet. OK.
The second number is the real number of non empty rows of my worksheet. OK.
The third number... why is repeating some data rows?