Studyon Minte9.com
ZF 1.0




Affected rows



// Zend_Db_Table

$result = $db->query($sql); 
$affectedRows = $result->rowCount();

// Zend_Db_Table

- insert (returns insert id)
- update (returns affected rows)
- delete (returns deleted rows)


http://stackoverflow.com/questions/2303496/how-to-get-the-affected-rows-of-the-zend-db-table
http://61.153.44.88/php/zend/ZendFramework-0.1.5/documentation/end-user/es/zend.db.table.html