OK, I have two tables in my database one is called Quiz and one is called examlog.
The quiz table holds the name of all the possible Quizes for a user. The examlog holds the information when a user takes a quiz and is only recorded if they get 100 on it.
So Lets say i have three quizes(quiz1, quiz2, quiz3) and in my exam log i have a user recorded as passing (quiz1 and quiz2) . I want the page to display what quizes the user has passed with a star next to it to show it has been completed but I also want to display the quiz they did not take with a link so they can take it. The problem I run into is that anyway i try to program it I get the quiz name repeated several times. I tried Using left outer join, i tried putting the data into array and doing a comparison, i tried using nested loops to do a check, but all ended up in the same result, I can get it to just show me the completed quizes but I can't get it to show me the non-completed without repeating the completed quizes again
The quiz table holds the name of all the possible Quizes for a user. The examlog holds the information when a user takes a quiz and is only recorded if they get 100 on it.
So Lets say i have three quizes(quiz1, quiz2, quiz3) and in my exam log i have a user recorded as passing (quiz1 and quiz2) . I want the page to display what quizes the user has passed with a star next to it to show it has been completed but I also want to display the quiz they did not take with a link so they can take it. The problem I run into is that anyway i try to program it I get the quiz name repeated several times. I tried Using left outer join, i tried putting the data into array and doing a comparison, i tried using nested loops to do a check, but all ended up in the same result, I can get it to just show me the completed quizes but I can't get it to show me the non-completed without repeating the completed quizes again