find list
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] => 'jone@test.com"
),
[2]
=> array(
[name] => "mike tyson"
[email] => 'mt@test.com"
)
)
i tried to use find list specifying the fields but it returns meanless
result
array( [ 1 ] => "jone done" => "mt@test.com" )
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home