single row data from table in laravel

42

collect(\DB::select("SELECT * FROM table_name WHERE id=$id"))->first();

Comments

Submit
0 Comments