diff --git a/reference/mysql/functions/mysql-num-rows.xml b/reference/mysql/functions/mysql-num-rows.xml index 5aaf23c988..9e2f909d42 100644 --- a/reference/mysql/functions/mysql-num-rows.xml +++ b/reference/mysql/functions/mysql-num-rows.xml @@ -1,5 +1,5 @@ - + mysql_num_rows @@ -15,8 +15,8 @@ Retrieves the number of rows from a result set. This command is only valid for statements like SELECT or SHOW that return an actual result set. - To retrieve the number of rows affected by a INSERT, - UPDATE, or DELETE query, use mysql_affected_rows. + To retrieve the number of rows affected by a INSERT, UPDATE, REPLACE or + DELETE query, use mysql_affected_rows. diff --git a/reference/mysqli/functions/mysqli-affected-rows.xml b/reference/mysqli/functions/mysqli-affected-rows.xml index e9d88eed46..feebc939f8 100644 --- a/reference/mysqli/functions/mysqli-affected-rows.xml +++ b/reference/mysqli/functions/mysqli-affected-rows.xml @@ -1,5 +1,5 @@ - + mysqli_affected_rows @@ -20,7 +20,7 @@ mysqli_affected_rows returns the number of rows affected by the last - INSERT, UPDATE, or DELETE query associated with the provided link + INSERT, UPDATE, REPLACE or DELETE query associated with the provided link parameter. If the last query was invalid, this function will return -1.