i have file like this
I want to load only two visible row in this example. I do not know how I can do it.
$reader = new PHPExcel_Reader_Excel2007();
$excel = $reader->load($_FILES['plik']['tmp_name']);
$data = $excel->getActiveSheet()->toArray(null, true,true,true);
When loading the file in PHPExcel shows all 8769 rows.
I have to do it in such a way as filtered data will always be different.
Do you know any way to do this?
If you only want visible rows, then you need to write a bit of code that will loop over the rows selecting only those that are visible
Something like: