Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

where with and and or in a laravel

        $users = DB::table('user')->select('id', 'name', 'email','api_token','created_at')
                                  ->where('email' , $email)
                                  ->where('name' , $name)
                                  ->get();
 
PREVIOUS NEXT
Tagged: #laravel
ADD COMMENT
Topic
Name
8+2 =