How can we get the total number of rows affected by MySQL query?
Answers
Answered by
0
It returns the number of rows changed, deleted, or inserted by the last statement if it was an UPDATE , DELETE , or INSERT . For SELECT statements, mysql_affected_rows() works like mysql_num_rows() . For UPDATE statements, the affected-rows value by default is the number of rows actually changed.
Answered by
0
The total number of rows affected by MySQL Query, the affected raw value by default is the number of actually changed.
mark as a brainliest answer
Similar questions