$userInfo = Client::where('username','=', $request->username)->first();
I want to add the parameter of the phonenumber. For example to check and the phonenumber, not only the username. How could i do that?
$userInfo = Client::where([['username','=', $request->username],['phonenumber',"=","1234567890"]])->first();
I hope this help
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community