Fixed example to use free instead of close. Closes bug #61652.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@324948 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Justin Martin 2012-04-07 19:18:51 +00:00
parent 1c1992f745
commit 4a97438b7b

View file

@ -109,7 +109,7 @@ $row = $result->fetch_array(MYSQLI_BOTH);
printf ("%s (%s)\n", $row[0], $row["CountryCode"]);
/* free result set */
$result->close();
$result->free();
/* close connection */
$mysqli->close();