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
 [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 Dec 07 00:03:19 2022 UTC