Nickmadd Posted August 25, 2014 Share Posted August 25, 2014 Hey guys, I want to be able to filter PDO and MySQL queries that are returned to my front end using JavaScript or a plus would be jQuery. First I will explain what I am actually doing... I am developing an ecommerce styled listing page, all of the data in my database is displayed into the front end and users can view vehicles that are in that table. I currently have all vehicles in a list using PDO just like this example: http://vans.autotrader.co.uk/search? As you can see the filtering module on the left of that example uses JavaScript to display the options available. My question is how is the JS having an affect on what the PHP is returning from the database there must be some sort of connection between JS and PHP but I am struggling to understand how this is possible? Quote Link to comment https://forums.phpfreaks.com/topic/290648-how-can-i-filter-pdo-queries-with-jsjquery/ Share on other sites More sharing options...
ginerjm Posted August 25, 2014 Share Posted August 25, 2014 See my answer in your other posting Quote Link to comment https://forums.phpfreaks.com/topic/290648-how-can-i-filter-pdo-queries-with-jsjquery/#findComment-1488917 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.