Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

single row data from table in laravel

collect(DB::select("SELECT * FROM table_name WHERE id=$id"))->first();
Source by laravel.io #
 
PREVIOUS NEXT
Tagged: #single #row #data #table #laravel
ADD COMMENT
Topic
Name
5+6 =