didou Sun Oct 19 16:55:05 2003 EDT
Modified files: /phpdoc/en/reference/mysql/functions mysql-fetch-field.xml Log: unfixing #25910 as it was bogus Index: phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml diff -u phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.8 phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.9 --- phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml:1.8 Sun Oct 19 11:49:30 2003 +++ phpdoc/en/reference/mysql/functions/mysql-fetch-field.xml Sun Oct 19 16:55:05 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- 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($i); + $meta = mysql_fetch_field($result, $i); if (!$meta) { echo "No information available<br />\n"; }