when code in cake,I always encounter the situation $this->User-
>findById('3')['User']['name'] ,something like that.

but it doesn't work.I know.I used to coding like this :$foo = $this-
>User->findById('3'); $foo['User']['name'],but I am really tired of
that .

so what really need to be done in php?


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to