You didn't really explain what you meant by "not working" :)  Does it
mean you get some sort of error when the code runs?  Does it return the
wrong results?  The PHP function print_r is a great way to figure out
what went wrong, when you aren't getting the results you're expecting.

One thing that seems odd to me right off the bat though is in the
$hasOne relationship, you are saying that a Menu $hasOne Menu.  It
seems like that would cause a recursive relationship of some kind
(since a menu has one menu, that has one menu, etc... )

If you say exactly what you mean by not working though, you should be
able to get a few mroe responses.


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

Reply via email to