From cfb5f2fda23e99fe81e98ac7768dab2f0d68866f Mon Sep 17 00:00:00 2001 From: Damien Seguy Date: Thu, 21 Jun 2001 16:03:56 +0000 Subject: [PATCH] Correcting mysql introductory example git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@49955 c90b9560-bf6c-de11-be94-00142212c4b1 --- functions/mysql.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);