JavaScript filter PHP results

Posted by Nick Maddren on Programmers See other posts from Programmers or by Nick Maddren
Published on 2014-08-23T11:35:31Z Indexed on 2014/08/23 16:32 UTC
Read the original article Hit count: 989

Filed under:
|

Hey guys for a while now I have been trying to come up with a method that can filter PHP results for listing items using JS.

Look at these examples:

http://www.autotrader.co.uk/search/used/cars/

http://www.vcars.co.uk/used-cars/

You will notice that the actual filter uses JavaScript however my question is how does it query the database to bring back the results?

It obviously using PHP however how does the JS control what the PHP drags from the DB?

Thanks

© Programmers or respective owner

Related posts about php

Related posts about JavaScript