Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check for an existing user laravel eloquent

$users = User::where('email', '=', $request->input('email'))->first();
if ($users === null) {
  // User does not exist
} else {
  // User exits
}
 
PREVIOUS NEXT
Tagged: #check #existing #user #laravel #eloquent
ADD COMMENT
Topic
Name
1+7 =