I was wondering how to do the best with PHP / MySQL and jQuery:
There is a basic search mask in which you enter the city and from time to time. You go to the search results page, where you can narrow the search results using certain parameters (flags, jQuery slider, text input, ...). Search results should be updated on the fly without reloading the entire page ...
I manage to use jQuery ajax and load it to send information to another php file, for example, SELECT and return the results to the search details page, but I don’t know how to combine the various changes that narrow down the search results.
In addition, the details page already has results, so I don’t need to add more results, but “delete” the results that no longer work ...
The fact is that each parameter to narrow the search is associated with another table in the database. Do I need and how to add additions to the original request ...? Or am I thinking in the wrong direction?
Chris source
share