Fixed bug #45113 (error in example for mysqli::multi_query())

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@260439 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Felipe Pena 2008-05-29 14:54:38 +00:00
parent 7a4cf75e61
commit ecb0b3bb21

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry xml:id="mysqli.multi-query" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysqli::multi_query</refname>
@ -83,7 +83,7 @@ if ($mysqli->multi_query($query)) {
while ($row = $result->fetch_row()) {
printf("%s\n", $row[0]);
}
$result->close();
$result->free();
}
/* print divider */
if ($mysqli->more_results()) {