I have a mysql table which has two fields ‘epf'(like ID) and ‘Name’. I’m having a php script which has two dropdown lists for epf(values are obtained by querying the database) and name. when user selects an epf, corresponding name should appear in the second drop down list dynamically . this is the code i have tried so far by getting help from this site too. but, it’s not working as i expected. please help to solve this and thank you in advance.
require_once ‘includes/db_con.php’;
?>
DropDown