DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
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
COMMENT
Name
9+5 =
Submit