Re: help with data model in cake

2007-02-11 Thread Olwen Williams
I've uploaded an update of this. On 07/02/07, Olwen Williams [EMAIL PROTECTED] wrote: I've uploaded a preliminary release to http://cakeforge.org/projects/sampler/ In some places such as the public survey page what I did is probably not very proper for CakePHP, but it works well enough that

Re: help with data model in cake

2007-02-06 Thread Olwen Williams
I've uploaded a preliminary release to http://cakeforge.org/projects/sampler/ In some places such as the public survey page what I did is probably not very proper for CakePHP, but it works well enough that my client is now using it. My client is collecting email addresses and using a package of

help with data model in cake

2007-02-05 Thread [EMAIL PROTECTED]
Please help me if possible. Trying to do a simple Survey. Survey has 10 Questions, each question has one of 4 possible Answers. I'm trying to get the data model correct. surveys table has id, survey_name, date_created questions table has id, question surveys_questions has

Re: help with data model in cake

2007-02-05 Thread Olwen Williams
I've just done a survey. I had: Surveys id,description,intro (an extended text), status (planned,running,finished), date started, date finished Questions id,survey_id,question,sequence Answers id,question_id,answer,sequence Responses id,survey_id,email_address Response_answers,