Hi all..
I m not really sure if i ll be able to explain what i m trying to do.. btw.. i ll try...
I m making an system that is basically, a module with some questions, like a poll.
in the module i can have from 1 to 5 questions.. everything is working... but now i need to make a king of panel that shows wich module was answered and wich was not.
my database is like this (i ll simplify)
modules is related with the questions by "module_id", and the questions are related with the answers by "question_id".. so... i need to find out if the questions of that module is answered and then if it is it should return a "X", and it is not it sould return a "O".. i was trying someting like this:
here is the code that i was trying to make:
//edit: new code bellow
my code is all messed up.. i ve tryied a LOT of things.. but i cant find any ways to make it work 🙁
if anyone could help me out.. correcting my code of finding another solution i would be gratefull...
thanx 🙂