Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to disable remove repeat cell value? #8

Closed
yunmoxue opened this issue Jun 19, 2020 · 2 comments
Closed

how to disable remove repeat cell value? #8

yunmoxue opened this issue Jun 19, 2020 · 2 comments
Labels
wontfix This will not be worked on

Comments

@yunmoxue
Copy link

my execel data is

A,B,C,D,E
1,london,london,DEC,12345

when i get by reader

        $reader = new Reader($options);
        $reader->open($tempFile);

        $data = [];
        foreach ($reader as $row) {
            var_dump($row);
            if (empty(implode('', $row))) {
                continue;
            } else {
                $data[] = $row;
            }
        }

the dump is

['A', 'B', 'C', 'D', 'E']
['1', 'london', 'DEC', '', 12345]

how to get the full data?

['1', 'london', 'london', 'DEC', 12345]

Thanks

@adirfische
Copy link
Contributor

Hey there,

I'm sorry, but I can't seem to reproduce this issue on the current master. :/

Can you attach the/an XLSX file that causes this issue on your end? Perhaps it's got something to do with the file itself, rather than its plain data.

Also, I noticed that you didn't include the declaration for $options in your code snippet.
Are you setting any particular $options by chance, which might be needed to reproduce the issue?

@adirfische adirfische added the wontfix This will not be worked on label Jan 5, 2023
@adirfische
Copy link
Contributor

Closed due to inactivity.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants