How to import CSV with custom format in Laravel? #4080
Unanswered
hilmihidyt
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm creating a CSV import feature with a format like this:
From the data format above, I want to retrieve data like this:
getVillageId(KEPULAUAN BANGKA BELITUNG, BANGKA BARAT, TEMPILANG, AIR LINTANG)
I have coded as below:
TpsController.php
TpsImport.php
Location.php
When I run it, I get an error message like this: Undefined array key 13
How to create a CSV import feature with a special format?
Beta Was this translation helpful? Give feedback.
All reactions