I want to view the 4 latest data inside my view page.
public function index()
$event = DB::select('SELECT * FROM events');
return view('home')->with('event', $event);
Please sign in or create an account to participate in this conversation.
There's no shortage of content at Laracasts. In fact, you could watch nonstop
for days upon days, and still not see everything!