thank you. it helped ! first i was surprised, that i dind't try this
way before, and maybe i did. but with your answer i knew that the
problem was somewhere else. and it was in the recursive setting. i
need recursive set to 2 and it was set somewhere to 1. that was the
problem. quite obvious, when you know it ;-)

<Ah, that's more of a general database question. The answer is that
you
<don't need to. CakePHP will automatically check the other table for
<anything whose parent_id matches, so you don't need to specify a
<child_id in the other table - that would be impossible as there could
<be a variable amount of children for each parent, and tables can't
<have a variable amount of columns. It may help to read up on some
<general relational database theory at this point to get all this
clear
<in your mind before you use CakePHP too heavily, as it will make much
<more sense then. >

you are definitly right. im not an academic programmer, but i learned
everything by myself, forums, books ....

and every single day i wish i had some more theoretical background.

i misunderstood the word "forein id" for me (with my english ;-) it
meand the id pointing from the other model to the model, where the
definition is in. in that case, for my understanding its simply the
id. is it always used that way, i think sometimes its meant the other
way round ? right ?

so thank you again.

greetings

marcus

--~--~---------~--~----~------------~-------~--~----~
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