I'm building an array to save with multi depth hasMany relationships.
I have a steps hasMany questions and questions has many answers.  I
build an array such as

$step = array ( 'id' =>
                      'name' =>
                      'questions' => array ( array('id' =>
                                                              'name'
=>
 
'answers' => array ( etc))));


It saves the first level but won't drill down into the has many. I'm
having a really difficult time in the documentation finding the exact
format to use for the data. Am I going in the right direction as far
as format? I would like one step variable to contain multiple
questions and one question to contain multiple answers and have cake
file the whole thing in the db.

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to