I am trying to write a PHP-MySQL database processor that is somewhat intelligent. When this processor decides it needs to make an update, I want to report if it was really
You can also use the function
$variable = mysql_info();
That function retrieves a string like this:
Rows matched: 1 Changed: 0 Warnings: 0
You can work with strings functions on your variable to extract the substring with the number of rows that matched and you should have it!