php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #16904 output-error im multi-dimensional arrays
Submitted: 2002-04-29 10:23 UTC Modified: 2002-05-30 00:00 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: a dot lacour at atl-c dot de Assigned:
Status: No Feedback Package: Arrays related
PHP Version: 4.1.2 OS: Suse Linux
Private report: No CVE-ID: None
 [2002-04-29 10:23 UTC] a dot lacour at atl-c dot de
There is a problem with a multi-dimensional array coming from a web-formular. in my case, i have a 2 dimensional array, first dimension numeric, the second associative. when i pick up the second dimension by
foreach($array as $key => $info), i cant output the elements by eg echo $info['name'].
with print_r($info) I get the right information about the array, but its impossible to get an output of the elements with echo or print!

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-04-29 10:32 UTC] a dot lacour at atl-c dot de
It works fine with complete numeric multi-dimensional arrays!
 [2002-04-29 16:13 UTC] sniper@php.net
Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".



 [2002-05-30 00:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a month, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 10 05:01:27 2024 UTC