ID:               16513
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Bogus
 Bug Type:         Output Control
 Operating System: windows xp / linux
 PHP Version:      4.1.2
 New Comment:

This looks to me like a serious bug not a request.

The only solutions is to set global_register to "on" which
ain't very save. (according the manual!).

What i'm trying to say is: YOU CAN'T PASS AN ARRAY ANYMORE!
unless ...


Previous Comments:
------------------------------------------------------------------------

[2002-04-09 09:18:54] [EMAIL PROTECTED]

Try putting {} around the variable name..


------------------------------------------------------------------------

[2002-04-09 09:18:26] [EMAIL PROTECTED]

The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php

------------------------------------------------------------------------

[2002-04-09 09:16:09] [EMAIL PROTECTED]

When passing an array through a form echo is running into trouble.

example:

<form action="array.php" method="post"> 
Name: <input type="text" name="personal[name]"><br> 
Email: <input type="text" name="personal[email]"><br> 
<input type="submit"> 

on the next page, i'm trying to retrieve the values:

print_r($personal) says: Array ( [name] => martijn [email] =>
[EMAIL PROTECTED] ).

echo "$HTTP_POST_VARS['personal']['name']"; 
no value is being displayed.

echo $HTTP_POST_VARS['personal']['name'];  (whithout "")
the value is displayed, but the function 'echo' doesn't work properly
anymore.

I hope someone can explain me why.

regards Martijn


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=16513&edit=1

Reply via email to