how to take last entry in database in laravel Method Two

100

$last2 = DB::table('items')->orderBy('id', 'DESC')->first();

Comments

Submit
0 Comments