PHP Classes

How to keep empty cell value as it is

Recommend this page to a friend!

      SimpleXLSX  >  All threads  >  How to keep empty cell value as it is  >  (Un) Subscribe thread alerts  
Subject:How to keep empty cell value as it is
Summary:Need to keep empty cell value as it is
Messages:2
Author:Khyati
Date:2011-04-01 06:15:30
Update:2011-04-01 07:15:16
 

 


  1. How to keep empty cell value as it is   Reply   Report abuse  
Picture of Khyati Khyati - 2011-04-01 06:15:30
Hello All,

I need to keep empty/NULL value of any cell as it is, as I need to map records with database fields which may be empty.

So can anyone help me out how to maintain NULL/empty cell.

Thanks.

  2. Re: How to keep empty cell value as it is   Reply   Report abuse  
Picture of Sergey Shuchkin Sergey Shuchkin - 2011-04-01 07:15:16 - In reply to message 1 from Khyati
try extract/analize DOM data:

$xlsx = new SimpleXLSX('pricelist.xlsx');

print_r( $xlsx->worksheet() );

// see method $xlsx->value( $cell )