Your controller has an object for each model that you tell it to use
with
$uses = array('Config', etc);
then you need to reference this model to query the database
$this->Config->query('statement');
although as John states, your query is simple. I would use the built in
field function
$this->Config->field('value', 'name='.$name);
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---