Solution for "how to check a table has values or not in laravel"

$user = User::where('email', '=', Input::get('email'))->first(); if ($user === null) { // user doesn't exist }

laravel check record exists

Similar codes for "how to check a table has values or not in laravel"


Latest 'PHP' questions

Added before "how to check a table has values or not in laravel"