PHP Classes

Empty rows

Recommend this page to a friend!

      SimpleXLSX  >  All threads  >  Empty rows  >  (Un) Subscribe thread alerts  
Subject:Empty rows
Summary:rows() is returning differente number of rows
Messages:2
Author:Marco Muciņo
Date:2011-09-02 02:04:12
Update:2011-09-02 14:07:43
 

  1. Empty rows   Reply   Report abuse  
Picture of Marco Muciņo Marco Muciņo - 2011-09-02 02:04:12
list($num_cols, $num_rows) = $xlsx->dimension();
echo "$num_rows<br />"; //Displays 32796, it's OK
$i = 0;
foreach( $xlsx->rows() as $r ) {
$i++;
}
echo "$i<br />"; //Displays 44051, ???

What are the 11255 extra rows?

  2. Re: Empty rows   Reply   Report abuse  
Picture of Sergey Shuchkin Sergey Shuchkin - 2011-09-02 14:07:43 - In reply to message 1 from Marco Muciņo
cols & rows extracted from XML, may be excel-document was damaged