hi,

I have a find() method that will find return multiple results from my
table:

 $tmp_attachment = $this->LinkTmp->find(array('LinkTmp.cat ' => $this -
> Session -> read('Link.cat'), 'LinkTmp.attachment' => '1'));

now i now, that i can save the result like this

$this->data['LinkAttachment']['filetype'] = $tmp_attachment['LinkTmp']
['filetype'];
etc
etc

BUT: i somehow have to loop through the $tmp_attachment array, since
there are multiple entries stored. i just get to save one....

any idea?

thank you :)

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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