php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #5525 double foreach-output within multiple arrays
Submitted: 2000-07-12 04:51 UTC Modified: 2000-08-08 23:00 UTC
From: kaspro at hellige dot de Assigned:
Status: Closed Package: Other
PHP Version: 4.0.1pl2 OS: Linux
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: kaspro at hellige dot de
New email:
PHP Version: OS:

 

 [2000-07-12 04:51 UTC] kaspro at hellige dot de
I may give you a short script...

foreach($arr as $Row){
 print "<tr>";
 foreach($Row as $Value) print "<td>$Value</td>";
 print "</tr>";
}

The output of $Row works fine, but:
$Value comes like the following:

Value1 Value1 Value2 Value2 Value3 Value3   .....and so on.

I hope this can help you,

Chris

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-07-13 04:07 UTC] stas at cvs dot php dot net
What was your $arr ?
 [2000-08-08 23:00 UTC] waldschrott@php.net
Closed due to missing user feedback.
 
PHP Copyright © 2001-2022 The PHP Group
All rights reserved.
Last updated: Wed Nov 30 04:05:54 2022 UTC