Hi, I have very little knowledge of php so please talk to me as if you where talking to a kid
What I want to do is quite complicated, the best way to describe it is something like a game but I am not making a game is actually a website where people can take exams but I want them to view the links depending on their user level, for example:
1st year students on level 1 can view the first exam of the first book, once they take the first exam on book one I want php to automatically boost that person to level 2 of the first year (is not necessary, we can boost them ourselves but it be cool if it was done automatically) but I want the exams to appear as they take the other exams, for example once they take exam 1 and pass it I want the link to exam two appear on their user page automatically and I want that if possible to be all on one page.
I want to put all the links to main.php and I want for php to look in the database that user level, if the user is on year one level 42 (this course takes 4 years to complete and there's over 250 short exams per year) I want them to be able to see on the navigation bar on the left as a drop down menu: year one - book 3 - exam 8 for example. I hope you understand what I am trying to achieve.
I would like it to be all in one page because I don't want to end with 1,000 same pages with different links for the different levels, I know is not so hard to make php redirect the person to a different page depending on their level but I don't want that, I want it to be done in one page (all the links) and php to hide the other links that the student haven't gone to yet.
Can someone tell me if this is possible?