It may be 2 question : when use Set::combine and extract this data :
$this->User->find('all);
1.
Array
(
[0] => Array
(
[User] => Array
(
[id] => 4
[username] => myname
[password] => abc
)
)
[1] => ...
[2] => ...
)
2. )
to
1. Array(
2. 'myname'=>array(
3. 'id'=>1,
4. 'password'=>'abc'
5. }
--
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