Sorry for the late reply. I had other stuff to do. So here's what I get
with DEBUG = 2 and pr($user); die;
Array
(
[User] => Array
(
[id] => 1
[realname] => Saddam Azad
[username] => admin
[password] => 21232f297a57a5a743894a0e4a801fc3
[email] => [EMAIL PROTECTED]
[website] =>
[aim] =>
[yahooim] =>
[jabbergtalk] =>
[about] =>
[useavatar] => gravatar
[customavatar] =>
[created] => 2006-07-08 11:29:32
[modified] =>
)
)
1 query took 91 ms Nr Query Error Affected Num. rows Took
(ms)
1 SELECT `User`.`id`, `User`.`realname`, `User`.`username`,
`User`.`password`, `User`.`email`, `User`.`website`, `User`.`aim`,
`User`.`yahooim`, `User`.`jabbergtalk`, `User`.`about`,
`User`.`useavatar`, `User`.`customavatar`, `User`.`created`,
`User`.`modified` FROM `users` AS `User` WHERE (`User`.`username` =
'admin') LIMIT 1
Looks like its not making any queries to the 'groups' table.
btw, do I need to link up models by using 'hasMany' or 'belongsTo' etc ?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---