kasimbadami / php-excel-reader

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

Error in retrieve the rows number on a sheet #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.open a xls file with 3 sheets inside
2.force the dump to the third sheet (2)
3.call echo $data->dump(true,true,2);

at the same removing the other 2 sheets and keep only the third the result not 
change

What is the expected output? What do you see instead?
the output that i want is the excel sheet but i only give back the 1° row with 
the column name by 
the software (A|B|C ecc) and the colum numebers is right... but the rows number 
is alway zero... 

Please provide any additional information below.

i have try to find the issue and i have found that the error is generated in 
this php code: 

function _parsesheet($spos) 

at the case:

    case SPREADSHEET_EXCEL_READER_TYPE_DIMENSION:

where this assignment 
$this->sheets[$this->sn]['numRows']
at the third sheet is always 0

in attach the file .xls, the screen shot of the result and the script

Original issue reported on code.google.com by matteofa...@gmail.com on 1 Apr 2010 at 1:56

Attachments:

GoogleCodeExporter commented 9 years ago
error in attach files... here the correct

Original comment by matteofa...@gmail.com on 1 Apr 2010 at 2:09

Attachments: