I am new to Php programming and I'm having some troubles understanding it. I need to make a project that will manage students and their grades. I need to have 2 types of users, professors and students. A professor can add grades to students, and a student can only view his grades.
I managed to make a simple login system, using wampserver and phpmyadmin. Now I don't know how to represent the students and the professors (since the teachers can add grades I assume they are treated like some sort of admins and students are users).Should I put a checkbox on the login page? And after that I should create different pages to each type of user?
Do not get confused by my questions. I don't need any code just some ideas on how to get started. After that if I have any problems I will share my code also.