Hi,

i have to get back to this topic, since I still have not found the
solution. When I print out the $this->data array, i get the below.
So now not forget,

recipe HABTM subcategories
recipe hasMany ingredients


Array
(
    [Recipe] => Array
        (
            [id] => 6
            [RecipeUIED] =>
            [recipe_name] => Testname
         )

    [Ingredient] => Array
        (
            [ingredientname] => Array
                (
                    [0] => water
                    [1] => meat
                    [2] => salt
                    [3] => pepper
                )

        )

        [Subcategory] => Array
        (
            [checkbox] => Array
                (
                    [1] => 1
                    [2] => 0
                )

        )

Is it possible to get everything saved with one go? And if so, is the
Array formated wrong and how does it need to look?

Hope someone can give me a hint. I am runing around in circles.

Thanks a lot Luke



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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