You would run
$userExists = DB::table('users')->select('email')->where('email', '=', $email)->get();
$userExists = DB::table('users')->where('email','=', $email)->pluck('email');
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community