Hello.

I have in my app_controller.php file that function:

function getConfig($name)       {
        $ret = $this->query("SELECT value FROM config WHERE
name='".$name."'");
        $wynik = $ret[0]['value'];
        return $wynik;
    }


And when I want to access to this function I' got on screen:

Fatal error: Call to undefined method UsersController::query() in
/home/lovers/ftp/app/app_controller.php on line 53

How i do to make this? Please help.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to