http://www.dereuromark.de/2010/09/21/saving-model-data-and-security/ paragraph "Primary key injection on edit actions"
similar to this add it before saving the data On 2 Apr., 08:22, Anas <[email protected]> wrote: > HI > I have this situation where admin can add some object(let's it id > notification ) belong to a user let the method in controller look like > this > > I backed every thing models controller views > > function admin_add($user_id=null){ > > //code for adding notification > > } > > who can i pass user_id to add form > I am new to cakephp and did not figure how to do this > > Regards -- 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
