What steps will reproduce the problem?
1. Upload the attached CSV
2. and see the result of datas.
3. one digit missing.
What is the expected output? What do you see instead?
my CSV has single column values like 2445,2446,.... in my coding i added the
code for heading false. after upload i echo the values,
//my coding
include_once(YII_BASE_PATH . "/lib/parsecsv.lib.php");
$file = $orgfile;
$csv = new parseCSV();
$csv->heading = false;
$csv->auto($file);
$result = $csv->data;
print_r($result);
die();
the values print like,
Array
(
[0] => Array
(
[0] =>
[1] => 445
)
[1] => Array
(
[0] =>
[1] => 446
)
[2] => Array
(
[0] =>
[1] => 447
)
[3] => Array
(
[0] =>
[1] => 448
)
[4] => Array
(
[0] =>
[1] => 449
)
[5] => Array
(
[0] =>
[1] => 450
)
[6] => Array
(
[0] =>
[1] => 451
)
[7] => Array
(
[0] =>
[1] => 45
[2] =>
)
[8] => Array
(
[0] =>
[1] => 453
)
note: in the above printed values i t removes the first digit and [7] value it
removes the the number "2". because the first number value is "2" i think.
What version of the product are you using? On what operating system?
parseCSV v0.3.2, windows
Please provide any additional information below.
Original issue reported on code.google.com by J.RAVICH...@gmail.com on 24 Aug 2012 at 7:43
Original issue reported on code.google.com by
J.RAVICH...@gmail.com
on 24 Aug 2012 at 7:43Attachments: