Answers for "laravel pass parameter to new page"

PHP
1

how to pass parameter in routes of laravel

##Defining Route:##
Route::get('edit-industry/{id}', ['as' => 'admin.editIndustry', 'uses' => 'Industries@edit']);

##Calling Route:##
{{ route('admin.editIndustry',[$id]) }}
Posted by: Guest on October-17-2021

Code answers related to "laravel pass parameter to new page"

Browse Popular Code Answers by Language