Can I get the search result so that it returns the id as key?
so if you are searching for the users I want to get the result
returned like this.
array(
[1]
=> array(
[name] => "jone done"
[email] => '[email protected]"
),
[2]
=> array(
[name] => "mike tyson"
[email] => '[email protected]"
)
)
i tried to use find list specifying the fields but it returns meanless
result
array( [ 1 ] => "jone done" => "[email protected]" )
I am using 1.2.8
--
Our newest site for the community: CakePHP Video Tutorials
http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others
with their CakePHP related questions.
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php