jasonrogena / jasonrogena/php-excel-reader

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

Open
#125 0 comments 0 reactions 0 assignees View on GitHub
auto-migrated Priority-Medium Type-Defect
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

```
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 "

";

//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

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with excel_reader2.php and the info($row, $col, $type, $sheet) function, then reproduce the report using an .xls file containing firstname, lastname, and email fields. Compare the returned array values with the original email cells; done means the first character is preserved instead of being replaced with "A".

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.