DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel pass view with data
return view("blog", ["posts"=>$posts]); Or: return view("blog", compact("posts"));
PREVIOUS
NEXT
Tagged:
#laravel
#pass
#view
#data
ADD COMMENT
Topic
COMMENT
Name
5+9 =
Submit