Bulk record update in Cakephp
Posted by Duncan | Posted in cakePHP | Posted on 21-08-2009
Tags: tutorial
3
I’m sure there are many ways of doing this, but recently I finally got round to figuring out how to update multiple records at a time. When I started out all I wanted was to give all the selected records the same value for one database field, so the first thing we need to know is which records need to be updated and which field. To do this all you need is a list with your records (I’m using portfolios) inside a form with some check boxes and a select box with a list of actions.


