moonlandsoft / yii2-phpexcel

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

How to exclude empty rows when importing? #38

Open temirfe opened 5 years ago

temirfe commented 5 years ago

I have an excel file with only one row, but when I import it, the empty rows are also being imported.

vc7deo commented 4 years ago

I have the same problem, please help. i have only 65 rows of data but it fetched around 998 rows with empty results. $datas = \moonland\phpexcel\Excel::import($file); print_r($datas); exit;

image