INSERT query produces “Warning: mysqli_num_rows() expects parameter 1 to be mysqli_result, boolean given”

The mysqli_num_rows() function returns the number of rows in a result set. For insert, update and delete use mysqli_affected_rows

Leave a Comment