Check out Set::filter() On Sunday, February 26, 2012 8:12:10 AM UTC-8, Reynier Pérez Mira wrote: > > I need to run a save/update query but only update those fields that aren't > empty. My form contains a FILE field and if I don't upload any file then > when the save() is executed this field goes blank even if previous data is > presented so how can I save/updated but onlye the fields with content to > update? > > Cheers and thanks in advance > > Ing. Reynier Pérez Mira > http://reynierpm.site90.com/ > >
-- 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+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php