-
|
I need to import a table into an array. And import not all cells, but only 2 columns. For example, from
to app\Imports\PricesImport.php And the call in the controller: But it doesn't work. What am I doing wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
hohanov
Apr 6, 2021
Replies: 2 comments 6 replies
-
|
Update Tried this option, but it returns all columns, not 2 specific columns |
Beta Was this translation helpful? Give feedback.
6 replies
-
|
Thanks to a hint from @patrickbrouwers , this worked: And the call in the controller: |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
hohanov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks to a hint from @patrickbrouwers , this worked:
app\Imports\PricesImport.php
And the call in the controller: