jcvieira840 / php-excel-reader

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

error in reading .xls file #168

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

$excel = new Spreadsheet_Excel_Reader();
     $excel->read('IWMPSmsData_ReportingDistictReport.xls');
 $x=1;
    while($x<=$excel->sheets[0]['numRows']) {
      echo "\t<tr>\n";
      $y=1;
      while($y<=$excel->sheets[0]['numCols']) {
        $cell = isset($excel->sheets[0]['cells'][$x][$y]) ? $excel->sheets[0]['cells'][$x][$y] : '';
        echo "\t\t<td>$cell</td>\n";  
        $y++;
      }  
      echo "\t</tr>\n";
      $x++;
    }

i get an error
The filename IWMPSmsData_ReportingDistictReport.xls is not readable
why

Original issue reported on code.google.com by arisht...@gmail.com on 15 Mar 2013 at 7:59