L
L
lynnikvadim2015-12-23 17:05:30
phpspreadsheet
lynnikvadim, 2015-12-23 17:05:30

How to set up PHPExcel in Laravel?

https://github.com/Maatwebsite/Laravel-Excel
This package reads empty lines and of course then I get an error that the name field cannot be null.
How to fix?
Let me explain: there are 500 lines in the file, and it starts reading 501 lines, and so on. But these rows do not contain data in any column.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
seriogja, 2015-12-25
@seriogja

Good afternoon!
To be honest, your problem is not entirely clear. Perhaps such functions for limiting reading will suit you. There are many detailed examples $reader->skip(10)->take(10);on the official website .

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question