$data = User::where('inet_id', "like", "%" . $inet . "%")
->orWhere('email', "like", "%" . $email . "%")
->orWhere('phone', "like", "%" . $phone . "%")
->get();
- It only executes the query when searching all 3 data once. But I want to search by separate data too.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire