Hi Marcelo de Moraes Serpa : Thanks first. I have resolved it. I used cake (version 0.10...),when found there was a new cake version,so I decided to update my cake,but I found such codes in controller would not work in the new version 1.1: $userdata=$this->users->read();
I have to use : $userdata=$this->Users->read(); instead; ------------------------------------------------------------------------------------------------------------------------------ That means the first letter of model's name must be a uppercase when you try to execute a model funciotn(such as find,findall or read) in controller with cake 1.1. ------------------------------------------------------------------------------------------------------------------------------ --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
