kasimbadami / php-excel-reader

Automatically exported from code.google.com/p/php-excel-reader
0 stars 0 forks source link

Display only selective rows #69

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to easely be able to output for exaple row 1, 3 and 8

I think this is quite simple, but i just can't get my head around it...

Ygg

Original issue reported on code.google.com by tor...@gmail.com on 17 Mar 2010 at 1:46

GoogleCodeExporter commented 9 years ago
Maybe a hide selective role would do the same, but i can't see ho to code it.
I use the example.php and just changed the path to the file and that works 
fine, but
i would like to hide some rows.

Original comment by tor...@gmail.com on 18 Mar 2010 at 9:26

GoogleCodeExporter commented 9 years ago
This is pretty simple stuff. I think you need to learn more about programming 
as you
don't seem to understand arrays. Anyway this is how you would display what you 
wanted

$data = new Spreadsheet_Excel_Reader($file,false);

echo $data->sheets[0]['cells'][1];
echo $data->sheets[0]['cells'][3];
echo $data->sheets[0]['cells'][8];

Original comment by bradmcma...@gmail.com on 23 Apr 2010 at 7:12

GoogleCodeExporter commented 9 years ago
FYI filing this under a bug report will piss of devs to no end, don't do it 
again.

Original comment by bradmcma...@gmail.com on 23 Apr 2010 at 7:13

GoogleCodeExporter commented 9 years ago
Oki sorry for posting in false place, but for me it is a issue (as the 
documentation
is not good enough. Tried what you said and got this:
ArrayArrayArrayas the only output.

I am not a programmer but a system admin, and I need (and usual get more then 
enough)
documentation to get this stuff to work.

Original comment by tor...@gmail.com on 26 Apr 2010 at 1:44