Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel check record exists

$user = User::where('email', '=', Input::get('email'))->first();
if ($user === null) {
   // user doesn't exist
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #laravel #check #record #exists
ADD COMMENT
Topic
Name
7+2 =