Hi All.

Basically, I have a drop down box that is dynamically generated. When a user picks an item, a table is displayed containing data fetched from MySQL. This is done with the help of AJAX. I am using this example here: http://www.w3schools.com/PHP/php_ajax_database.asp

This all works fine, my data is displayed fine. Now, I have the requirement of after displaying this data, again be able to filter it by date.

I suppose what I need to do is display the data as seen above and also display another drop down after something is selected, and then allow the users to further filter based on this newly displayed dropdown. I am not really sure how to accomplish this, the AJAX example I posted above only seems to let you pass one variable, if I could pass 2 variables I could probably manage this.

Has anyone had to do anything similar, I cant seem to find much on the internet, other than dependent dynamic dropdowns.

Thanks for any and all help!