prinsich / php-excel-reader

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

when i put email values in a column its first character is replaced with "A" #125

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1 we upload a excel file(.xls) with field firstname,lastname,email
2 In excel_reader2.php page we get array
 function info($row,$col,$type='',$sheet=0) {
        //echo "<pre>";
        //print_r($this->sheets[$sheet]);

        $col = $this->getCol($col);
        if (array_key_exists('cellsInfo',$this->sheets[$sheet])
                && array_key_exists($row,$this->sheets[$sheet]['cellsInfo'])
                && array_key_exists($col,$this->sheets[$sheet]['cellsInfo'][$row])) {
            return $this->sheets[$sheet]['cellsInfo'][$row][$col];
        }
        return "";
    }

3 above comente arrat show wrong value with replaced character
  Abcd@yahoo.com for abcd@yahoo.com
  Ayz@yahoo.com for xyz@yahoo.com

please send me require information so I can fixed the issue.

thanks & regards

Original issue reported on code.google.com by sulok.ka...@gmail.com on 2 Aug 2011 at 1:56

GoogleCodeExporter commented 9 years ago
Send me the Excel file I try to sort it out

Original comment by endar...@gmail.com on 23 Aug 2011 at 1:54