Hello guys, I’m trying to make a student exam system and I’m having a problem with displaying the correct grade and the exam for the students.
My problem is that instead of 2 exams, I can only see one exam in the view results page. Also, the score it’s computed wrong(it should be 6/10 instead of 6/4), and in the database everything seems fine
Main page it’s fine, I can see the 2 exams listed:
but on the View result page I can only see one exam and I don’t understand why…
view result page
Exam answers for the asd user:
asd user answer
What am I doing wrong? Thanks!