The older mysql extension has the CLIENT_FOUND_ROWS connection flag, but I couldn\'t find any equivalent for mysqli.
CLIENT_FOUND_ROWS
I have an up
up
Also SELECT ROW_COUNT() can give the number of rows affected by update query.