How to get affected rows after update statement in mysql?

mysql, php

Solution

mysql_info — Get information about the most recent query

$recent = mysql_info();

Useful implementation Example

Problem

How to get affected rows (not just the number of rows affected) after update statement in mysql.

Original source

Related problems