Tuesday, March 27, 2012

Question about Model::updateAll

Hi friends,

I have a question about Model :: updateAll

Planning to make a photo gallery that will be created or edited in several steps.

The user creates a photo album, giving the name and description. After saving, redirect the page for adding photos
The second page uses the multiple upload script to transfer photos to the server. The name of the image is being saved in a database table. Once the transfer is done, redirect to the third page.

On the third page, the user has the option to add description for each image from the current album.

How do I create a form for that?

How to use Model::updateAll, if you want to save changes to a number of images, where the values ​​are different for the description field.

Thanks

--
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

No comments: