Thanks Jim, that's pretty much what I did (while awaiting a better method). I appreciate the help.
DanB
-----Original Message----- function updateMultiple( &$dbw, $tables, $values, $conds, $fname = null, $options = array() ) { if (!$fname) $fname = __METHOD__; $tables = $dbw->tableNamesWithUseIndexOrJOIN( $tables ); $opts = $dbw->makeUpdateOptions( $options ); $sql = "UPDATE $opts $tables SET " . $dbw->makeList( $values, LIST_SET ); if ( $conds != '*' ) { $sql .= " WHERE " . $dbw->makeList( $conds, LIST_AND ); } return $dbw->query( $sql, $fname ); }