Posts by ExercitoBR • 36 points
2 posts
-
1
votes1
answer26
viewsQ: Search data via SQL using Laravel
I need to select to return all users who have the initials of a name. Example: I type in my search input field: "paulo" returns to me all users who have this word. I did some research and used it:…
-
0
votes1
answer60
viewsA: display list of dependents per user in Laravel 6
Just make it work: in your home method: public function home() { $dependentes = Auth::user()->dependentes()->get(); return view('auth.home',compact('dependentes')); // essa linha vai pra View…