Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

Method IlluminateDatabaseEloquentCollection

$users = AppModelsUser::where('active', 1)->get();

foreach ($users as $user) {
    echo $user->name;
}
Source by laravel.com #
 
PREVIOUS NEXT
Tagged: #Method #IlluminateDatabaseEloquentCollection
ADD COMMENT
Topic
Name
1+4 =