Did the filter sample according to the model, make, city. doing so
phones::where('cat_id','=',1)->orwhere('model_id','=',$model)->orwhere('marka_id','=',$marka_id)->orwhere('city','=',$city)->get();
Data is transferred into the variables tested, all OK. the table phones select all where cat_id is equal to 1, i.e., phones, displays everything where cat_id is equal to 1, in spite of orwhere