insert data from PHP form

I wasn't sure if this should be in the MySQL or PHP forum. I have a database to enter student info for a school (it's a detention list - I'm the VP) I have a form to update records in a database as each student is assigned detention. It only allows me to enter one student at a time. Is there a way to enter multiple students? For example if 20 students have detention, I want to enter 20 students into the database at once. (the database is for my tracking purposes)
form.html

I'm a newbie so I am a little lost. Here's what I want to do:
1. Students are assigned detention - say 10 students
2. I want to upload to my database those 10 names, the date.
3. I have a form that let's me upload one set of data (First name, last name)
4. Rather than do this 10 times, I want to use a form that let's me upload once
5. I understand the foreach loop (a little) but I'm not sure where to add it in relation to the sql 'insert' statement

I was going to use a form but I guess it would be easier to write an INSERT INTO statement. I just to make it a from I could open on a web page. Detention is daily - the number will change from day to day. I'll keep a daily list (maybe it would be easier to upload as a CSV with multiple names?) I have the database set up to take all the info