How can Ignore or skip specific columns? For example I have the ff. columns:
and I want to load only
so basically ignoring middlename and age column.
thanks in advance.
I also want to know that.
// Select
$reader->select(array('firstname', 'lastname'))->get();
// Or
$reader->get(array('firstname', 'lastname'));
source: http://www.maatwebsite.nl/laravel-excel/docs/import#select
@rootchips, thanks for the answer. I also saw that from the documentation before. But here are it's disadvantage.
If only I could get answer from this issue https://github.com/Maatwebsite/Laravel-Excel/issues/1165, I might be using this library.
Most helpful comment
I also want to know that.