Allora, ho due tabelle, una tabella dove è scritta la domanda un'altra dove sono scritte le risposte collegate alla domanda tramire id
Le domande sono suddivise in categorie ...
Come faccio a comporre un report ,un quiz quindi, estraendo un tot di domande per ciascun argomento con le rispettive risposte possibili ?
Dovrebbe uscire una stampa tipo :
--------------------------------------------
ARGOMENTO A
1 - Domanda
- risposta
- risposta
2 - Domanda
- risposta
- risposta
ARGOMENTO B
1 - Domanda
- risposta
- risposta
2 - Domanda
- risposta
- risposta
-------------------------------------------