cvs: phpdoc /en/reference/mysqli/functions mysqli-fetch-array.xml
| From: | Mehdi Achour | Date: | Thu, 22 May 2003 09:10:44 +0000 |
| Subject: | cvs: phpdoc /en/reference/mysqli/functions mysqli-fetch-array.xml | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969353743@lists.php.net to get a copy of this message | ||
didou Thu May 22 05:10:44 2003 EDT
Modified files:
/phpdoc/en/reference/mysqli/functions mysqli-fetch-array.xml
Log:
some more corrections
Index: phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml:1.3
phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml:1.4
--- phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml:1.3 Thu May 22 05:04:21 2003
+++ phpdoc/en/reference/mysqli/functions/mysqli-fetch-array.xml Thu May 22 05:10:44 2003
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.3 $ -->
+<!-- $Revision: 1.4 $ -->
<refentry id="function.mysqli-fetch-array">
<refnamediv>
<refname>mysqli_fetch_array</refname>
@@ -50,7 +50,7 @@
$result = mysqli_query("SELECT id, name FROM mytable");
- while ($row = mysqli_fetch_array($result, MYSQL_NUM)) {
+ while ($row = mysqli_fetch_array($result, MYSQLI_NUM)) {
printf ("ID: %s Name: %s", $row[0], $row[1]);
}
@@ -60,7 +60,7 @@
</programlisting>
</example>
<example>
- <title>mysqli_fetch_array with MYSQL_ASSOC</title>
+ <title>mysqli_fetch_array with MYSQLI_ASSOC</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -70,7 +70,7 @@
$result = mysqli_query("SELECT id, name FROM mytable");
- while ($row = mysqli_fetch_array($result, MYSQL_ASSOC)) {
+ while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) {
printf ("ID: %s Name: %s", $row["id"], $row["name"]);
}
@@ -80,7 +80,7 @@
</programlisting>
</example>
<example>
- <title>mysqli_fetch_array with MYSQL_BOTH</title>
+ <title>mysqli_fetch_array with MYSQLI_BOTH</title>
<programlisting role="php">
<![CDATA[
<?php
@@ -90,7 +90,7 @@
$result = mysqli_query("SELECT id, name FROM mytable");
- while ($row = mysqli_fetch_array($result, MYSQL_BOTH)) {
+ while ($row = mysqli_fetch_array($result, MYSQLI_BOTH)) {
printf ("ID: %s Name: %s", $row[0], $row["name"]);
}