ali             Sun Oct 19 11:49:30 2003 EDT

  Modified files:              
    /phpdoc/en/reference/mysql/functions        mysql-fetch-field.xml 
  Log:
  fixes #25910
  
  
Index: phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml
diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.7 
phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.8
--- phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.7       Wed Jul  9 
11:07:29 2003
+++ phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml   Sun Oct 19 11:49:30 
2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/mysql.xml, last change in rev 1.2 -->
   <refentry id="function.mysql-fetch-field">
    <refnamediv>
@@ -107,7 +107,7 @@
 $i = 0;
 while ($i < mysql_num_fields($result)) {
     echo "Information for column $i:<br />\n";
-    $meta = mysql_fetch_field($result);
+    $meta = mysql_fetch_field($i);
     if (!$meta) {
         echo "No information available<br />\n";
     }

Reply via email to