I am not quite sure how to search for how to tackle this problem so
aplogies - perhaps someone could send me in the direction of a
relevant post?
I have a model:
-pages
I want another model to hold the links between pages so would have
-links
with fields:
-id, page_from_id, page_to_id
where both page_from_id and page_to_id is an id in the pages table.
Can you tell me what type of model relationship I need for this please
as at the moment it looks for page_from and page_to models which don't
exist.
Thanks
James
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment