Set JS validation for all without student name select box, So the user should enter all the combo boxes . Thus you can display result by using
SELECT * from table_name WHERE studentname = '$studentname' OR college = '$college' AND class = '$class' AND rollnumber = '$rollnum' AND section = '$section';
mohamedasif18
Junior Poster in Training
61 posts since Nov 2011
Reputation Points: 10
Solved Threads: 5