I must help you.
Regarding the search functionality, you can create a function which takes in the input and perform a select query with LIKE which gives you the relavant results.
Example:
public function search(Request $request){
$input = $request->input->your_variable_from_post_request;
$res = Users::where(‘id’,Auth::user()->id)->
where(‘name’,’LIKE’,’%’.$input.’%)->get();
return view(‘zxy’,compact($res));
}
Question and answer is powered by AnsPress.io