ID:          24650
 Updated by:  [EMAIL PROTECTED]
 Reported By: brichards at deltasearchlabs dot com
-Status:      Open
+Status:      Bogus
 Bug Type:    Documentation problem
 PHP Version: Irrelevant
 New Comment:

the line before is : while($line = mysql_fetch_array($result,
MYSQL_ASSOC))

so we loop over $line with a foreach.


Previous Comments:
------------------------------------------------------------------------

[2003-07-14 14:30:01] brichards at deltasearchlabs dot com

Description:
------------
on the web page:   http://us4.php.net/manual/en/ref.mysql.php

in Example one, you use the line:

"foreach ($line as $col_value) {"

The variable "$line" should be "$list"



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=24650&edit=1


-- 
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to