When using the delete action what is a good way to retrieve (before
the actual delete) field data (from the same table) ?
e.g. how to get $this->request->data fields?
I had thought of using the query method, but this seems like an ugly
solution:
e.g. $qry = $this->Image->query('SELECT user_id FROM images WHERE
id="'.$id.'"'); etc
Thanks,
Daniel
--
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
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment