I'm creating a form which has 40 total fields. Is there a simple but efficient coding method I can use to grab the data from the form? I'm currently using the following method:
$instructor = $POST['instructor'];
$department = $POST['department'];
$semester = $_POST['semester'];
If I have to do this for all 40 fields it's gonna be a pain. 31 of the 40 fields are drop down menus. All in all, I'm looking for a better way to store field values into variables. If I have to do it this way, so be it!
Thanks in advance,
EJ