There are various ways to update rows in a database table using the Zend_Db_Table components. You can use use Zend_Db_Table::update(), like so:
$table = My_Table();
$table->update(array('age' => 22), 'id = 1');
or retrieve the row, and update it:
$table = My_Table();
$row = $table->find(1)->current();
$row->age = 22;
$row->save();
The big difference between the two approaches is that by first retrieving the row, and […]
