Skip to content
Advertisement

Tag: import

Laravel Imports: How to replace imported row value by id?

So i have this code: PengajuanDetailController.php SubmissionDetailImport.php I wanted to make the imported row value of ‘submission_id’ equal to an id, for example: http://127.0.0.1:8000/pengajuan/4/ the row value of ‘submission_id’ becomes 4 of the “/4/” instead of the original imported value, how to do? Answer You can simply pass your Url parameter, through to the importer. Now we are needing the

Advertisement