Existe el registro de cheques de laravel
$user = User::where('email', '=', Input::get('email'))->first();
if ($user === null) {
// user doesn't exist
}
Hjmcoder
$user = User::where('email', '=', Input::get('email'))->first();
if ($user === null) {
// user doesn't exist
}
$subscription_count = DB::table('subscriptions')->where('pid_user',$pid_user)->count();
//check if any subscription plan exists
if($subscription_count == 0)
{
//record does not exist
}else{
//record exists
}
$result = User::where('id',$id)->exists();