mardi 1 novembre 2022

Laravel 5 User::where() My where call isn't working with laravel 5

I have narrowed my error down to this line of code

$user= User::where(['email'=>$req->email])->first();

it it not working with Laravel 5 I think this is from a Laravel 4 project. How do I update it to 5?



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/Riys3u7
via IFTTT

Aucun commentaire:

Enregistrer un commentaire