Support the ongoing development of Laravel.io →
Database Views Blade
Last updated 2 years ago.
0

Hi, Read this document here just create one model like this

 class Books extends Eloquent {}
 

call in routes or controller

 $books = Books::all();

 pass to view

 return View::make('book_view',array('books'=>$books))
Last updated 2 years ago.
0

Thanks! Works perfect now

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Dieter91 dieter91 Joined 9 Jun 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.