sure
check out the 3rd post for an example:

http://www.cakephp-forum.com/datenbanken-mysql/mehr-als-einmal-auf-dieselbe-tabelle-verweisen-t351.html


On 5 Sep., 03:08, koko <koko...@gmail.com> wrote:
> Hello,
>
> I have a webapp where users can rate other users, it's something like
> amazone rating system where you can rate sellers and comment on their
> profile page.
>
> The users table is something like:
> id
> username
> password
>
> and the rating table:
> id
> user_id
> reviewer_id
>
> note that user_id and reviewer_id will point to the same field
> (users.id), so is that possible?
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to