|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #24650 Error on PHP documentation page
Submitted: 2003-07-14 14:30 UTC Modified: 2003-07-14 14:43 UTC
From: brichards at deltasearchlabs dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: brichards at deltasearchlabs dot com
New email:
PHP Version: OS:


 [2003-07-14 14:30 UTC] brichards at deltasearchlabs dot com
on the web page:

in Example one, you use the line:

"foreach ($line as $col_value) {"

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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-14 14:43 UTC]
the line before is : while($line = mysql_fetch_array($result, MYSQL_ASSOC))

so we loop over $line with a foreach.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Sep 16 12:03:37 2021 UTC