|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
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,



Add a Patch

Pull Requests

Add a Pull Request


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]
Closed due to missing user feedback.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Jan 27 07:04:16 2023 UTC