I did the following while working on a dynamic questionnaires
generation system.

1 Questionnaire hasMany Questions
1 Question has Many options (for multiple answers)

-------------------
ANSWERS
------------------
1 Questionnaire hasMany AnswersMain
1 AnswerMain hasMany Answers

AnswerMain has:
- id
- questionnaire_id
- user_id

Answers has:
- id
- answermain_id
- question_id
- user_id

To create the questionnaire I used Javascript (jQuery) to dynamically
generate the several options fields for a question

Dan
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to