> That returns a record, not one string, right?

you can use the parameter 'list' with limit = 1:

$single_field_value_of_record_1 = $this->find('list', array(
'conditions'=>array(  'table.single_field'=> 1),
'fields'=>array('single_field'), 'limit'=>1 ));

this should give you an array of size 1... not a string, but i think
is the thing closest to a string you can have..

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" 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