I am working on a student management project on pdo php mysql. I need to insert multiple rows like student payable amount available to specific group of students. Or send a billing to a group of student. How do i insert this into sql database? Is insert multiple rows a possible solution?
Edit
My reference will be base from other table.. it goes like this.
table 1 -
-------------------------
| id | name | group |
-------------------------
| 10 | John | A |
| 11 | James | A |
| 12 | Julius | B |
-------------------------
table 2
-------------------------
| id | stud_id | amount |
-------------------------
| 1 | 10 | 500.00 |
| 2 | 11 | 500.00 |
-------------------------
notice julius was not included since he has different group.