Does anyone know how to get user variables from the Auth from a different
Table?
[Auth] => Array
(
[User] => Array
(
[id] => 6
[username] => mary
[email] =>
[group_id] => 4
[created] => 2009-03-10 14:29:45
[modified] => 2009-03-10 14:29:45
[last_login] => 2009-03-10
)
)
For example here Mary is User ID 6 she belongs to Group 4 which in this case
is a TEACHER so she has a TEACHER profile which has an ID of 3. How can I
take the Auth id 6 to find her Teacher ID in the TEACHER TABLE?
Thanks
Dave
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---