I am new to Laravel. Please excuse the newbie question but how do I find if a record exists?
<?php
$user = User::where('email', '=', Input::get('email'));
What can I do here to see if $user
has a record?
I am new to Laravel. Please excuse the newbie question but how do I find if a record exists?
<?php
$user = User::where('email', '=', Input::get('email'));
What can I do here to see if $user
has a record?