sql >> Base de Datos >  >> RDS >> Mysql

Obtenga el número de filas que coinciden con la consulta ACTUALIZAR con PHP mysqli

Usé el siguiente código:

// Parse the digits from the info string that has the following format:
// Rows matched: 0 Changed: 0 Warnings: 0
preg_match_all('!\d+!', $mysqli->info, $m);
return $m[0][0];