moonlandsoft / yii2-phpexcel

Exporting PHP to Excel
MIT License
135 stars 89 forks source link

Impossible read/import some files #47

Open DesRodman opened 2 years ago

DesRodman commented 2 years ago

Hello team I have some XLSX file from a partners, which has the next structure https://prnt.sc/26xp33s

I'm doing the next command

        $filePrice = Excel::import($fileName, ['setIndexSheetByName' => true]);
        print_r($filePrice);

but as result I have

Array
(
    [0] => Array
        (
            [] => 
        )
    [1] => Array
        (
            [] => 
        )
    [2] => Array
        (
            [] => 
        )
    [3] => Array
        (
            [] => 
        )
    [4] => Array
        (
            [] => 
        )
    [5] => Array
        (
            [] => 
        )
    [6] => Array
        (
            [] => 
        )
    [7] => Array
        (
            [] => FEATURES
        )
    [8] => Array
        (
            [] => 
        )
    [9] => Array
        (
            [] => HQ Dynamic, "Verify", "SMS-Info" Sender ID
        )
    [10] => Array
        (
            [] => 
        )
    [11] => Array

But why I have no a data from the table under the header?

Thanks