Hi AD7six,
Thanks, that helped me simplify the authentication system.

But that is not the actual problem i'm having. The thing is that I want
to get the information of the group the user belongs to.

What I want to do is:
1. use the "user_id" to get the "group_id" from the HABTM table.
2. use the "group_id" to get information from the "groups" table


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