SyntaxFix
Write A Post
Hire A Developer
Questions
go to your Controller write this in function
public function index() { $posts = \App\Post::all(); return view('yourview', ['posts' => $posts]); }
in view to show it
@foreach($posts as $post) {{ $post->yourColumnName }} @endforeach