Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel database select

use IlluminateSupportFacadesDB;
 
$users = DB::select('select * from users');
 
foreach ($users as $user) {
    echo $user->name;
}
 
PREVIOUS NEXT
Tagged: #laravel #database #select
ADD COMMENT
Topic
Name
5+8 =