I want to fetch information from a database with AJAX with two select box
like example http://www.w3schools.com/php/php_ajax_database.asp but that contain
only one select box I want to do it using two select box when two select box select MySQL table will display as w3 example please help me to edit it for my need
In the example, your sending the value of the drop down with onchange="showUser(this.value)"
Simple add a second parameter to identify the dropdown that is sending a value:
onchange="showUser(this.value, 'first')"
Use onchange="showUser(this.value, 'second')" for the other dropdown.
In the JS code have an IF statement to check IF both dropdowns have a value and than send your query.