I am working on student attendance system project for that i am using html and php I need the solution for this problem
i have 4 drop down list
In the first drop down list
contains Civil Engg,Comp Engg etc.....and so on.
In the second dropdown list
subject names are there that are stored in mssql database and depending on the value selected in first drop down I need to populate the subject from the database
like
select * from allsubjects where branch='civilengg';
so please any give me the solution for this scenario