time they answer a question correctly, it should appear in this table. as a username and question id.
The connection/table is:
table one: question id - subject id
table to: question id - subject id - username
I want to check if the user has answered the question - that is: there is an entry in the second table
What I need to do is:
If the user is logged in, and he wants to see a list over all questions he has not answered, the following need to be done:
compare the question id and subject id where the username is matching. If the question id and subject id is matching in the two tables, then show
table one, EXCLUDING the matching data from table two.
How can I do this?
Thanks