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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 14:01:30 2025 UTC