$data = User::WhereRaw("concat(first_name, ' ', last_name) like '%$request->user_name%'")
->orwhere('inet_id',"like", "%" .$request->active_id. "%")
->orwhere('email',"like", "%" . $request->email. "%")
->orwhere('phone',"like", "%" . $request->phone . "%")->get();
- Why is my query not working adding like %% .
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire