PHP Classes

Class does not recognize some cells as having data

Recommend this page to a friend!

      SimpleXLSX  >  All threads  >  Class does not recognize some cells...  >  (Un) Subscribe thread alerts  
Subject:Class does not recognize some cells...
Summary:some cells in file are not empty but class does not display them
Messages:3
Author:Barry Beach
Date:2012-08-28 23:22:29
Update:2012-08-29 22:07:14
 

  1. Class does not recognize some cells...   Reply   Report abuse  
Picture of Barry Beach Barry Beach - 2012-08-28 23:22:29
Your class is working fine, but for some reason, it does not display some cells that are not empty.

Here is a code snippet:

foreach( $xlsx->rows() as $r ) {
echo "$r[0]." ".$r[1]." ".$r[8]."<br/>";
}


Now, it shows all of the rows, but there are certain rows in which $r[0] clearly has a value in it, but it is not displayed in the above statement.

Any idea why?

  2. Re: Class does not recognize some cells...   Reply   Report abuse  
Picture of Sergey Shuchkin Sergey Shuchkin - 2012-08-29 12:44:24 - In reply to message 1 from Barry Beach
may be image cell?

  3. Re: Class does not recognize some cells...   Reply   Report abuse  
Picture of Barry Beach Barry Beach - 2012-08-29 22:07:14 - In reply to message 2 from Sergey Shuchkin
no, I checked. It is numeric.