PHP 4.0 Bug #5525: double foreach-output within multiple arrays
| From: | kaspro at hellige dot de | Date: | Wed, 12 Jul 2000 08:51:59 +0000 |
| Subject: | PHP 4.0 Bug #5525: double foreach-output within multiple arrays | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-24169@lists.php.net to get a copy of this message | ||
From: kaspro@hellige.de
Operating system: Linux
PHP version: 4.0.1pl2
PHP Bug Type: Other
Bug description: double foreach-output within multiple arrays
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