Andreas But I found it can't work. The error Fatal error: Call to a member function fetchAll() on a non-object in D:\php-5.0.4-Win32\PHP_Script\PHP_CAKE\cake\libs\model\model_php5.php on line 1143
will occur though I add you appmodel in my app_model.php in the cake directory. I think It can't execute any sql statment in model constructor. Because the database connection hasn't be created. So the error occur. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
