diff --git a/functions/mysql.xml b/functions/mysql.xml index 48eaab1f0c..7b664d38bd 100644 --- a/functions/mysql.xml +++ b/functions/mysql.xml @@ -44,7 +44,7 @@ // printing HTML result print "<table>\n"; - while($line = mysql_fetch_array($result, MYSQL_){ + while($line = mysql_fetch_array($result)){ print "\t<tr>\n"; while(list($col_name, $col_value) = each($line)){ print "\t\t<td>$col_value</td>\n"; @@ -739,7 +739,7 @@ select t1.f1 as foo t2.f1 as bar from t1, t2 mysql_fetch_row and mysql_fetch_assoc. - <function>Mysql_fetch_array</function> + <function>Mysql_fetch_array</function> example <?php mysql_connect ($host, $user, $password);