Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

return user details from controller to view

$user = User::query()->where('id','=', $id)->first();
return view('user.profile', compact('user'));
 
PREVIOUS NEXT
Tagged: #return #user #details #controller #view
ADD COMMENT
Topic
Name
9+5 =