First of all I'm a complete newb and I need help. I don't expect you to solve everything and am willing to make an effort.
I want to create a web page where I would track if a person was on a lecture or not. The HTML/CSS part is done, the PHP part will be, but the database part is what I don't know how to do.
This is what I need to do:
Person P1 attended lecture L1
Person P2 attended lecture L1
Person P3 attended lecture L1
Person P1 attended lecture L2
Person P2 attended lecture L2
There are about 20 persons, and exactly 15 lectures (L1-L15)
I created a table Lectures which has 2 fields LectureID (primary key) and LectureName. I also created a table Persons which has 5 fields, Person ID (primary key) and 4 others which describe that person.
I don't know how to "remember" the fact that a person was on a lecture. I definitely need to remember it so I can use it later.