Ajax

Ajax is a technique for making web applications faster and more responsive. It involves sending small bits of data to the server asynchronously (in the background) so that the user can continue to interact with the page without having to wait for a full page refresh.

CLICK HERE To solve more code-related solutions you face every day.

how to make filter for food by category and subcategory , and once i press on any category i get its food dishes

you can simply do this in your controller public function index(Request $request) { $query=Food::query(); // filter by categoryid if ($request->has(‘category_id’)){ $query->whereCategoryId($request->get(‘category_id’)); }` // sort and exexute $query=$query->orderBy(‘id’,’DESC’); return response($query); } …

how to make filter for food by category and subcategory , and once i press on any category i get its food dishes Read More »

Scroll to Top