Hi,
welcome in the community but try searching before asking questions.
Your question is covered in the manual (foreignKey)
http://book.cakephp.org/view/66/models#associations-78

On Sun, May 18, 2008 at 5:04 AM, mKhaleel <[EMAIL PROTECTED]> wrote:
>
> i have users table and posts table
> in my posts table there are three FK fields
> createdby
> modifiedby
> accessedby
>
> all three fields point to users id, how can this table be designed in
> mysql and the model in cakephp
>
> ps. i am brand ne to cakephp, sorry for the silly question.
>
> >
>



-- 
Marcin Domanski
http://kabturek.info

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