Laravel 5.5 tutorial 41 How to pass optional parameters in laravel 5 5

preview_player
Показать описание
Laravel 5.5 tutorial 41 How to pass optional parameters in laravel 5 5

IMPORTANT LINKS:

Donate to help us make more videos:

Follow us on social media:
Рекомендации по теме
Комментарии
Автор

Man I really love that you mess up sometimes, Humanoid effect that I'm in a desperate need for it

KUDOS for the amazing series

khaledmkhawad
Автор

Hello nice work can you make use of vuejs to make status of project or companies active deactive in project or companies listing

ParvezMohd
Автор

What is the purpose of passing the parameter? To pass company's id to the project?

ErdemDerebasoglu
Автор

No need to create extra route and shit. do it like I did this
href parameter value for create project link should be
{{route('projects.create',
we are passing company id to company_id query string parameter


public function create(Request $request)
{
//check if company paramenter provided and/or company exists in database
$company =
if(!$company){
return
->with('error', 'Invalid company specified');
}
return view('projects.create');
}

Make sure you import Company model above. use App\Company;

In projects/create.blade.php
<input type="hidden" name="company_id"

johntresca
Автор

lol you are torrenting, thrones of elves, yts.ag

johntresca
welcome to shbcf.ru