From: [EMAIL PROTECTED] Operating system: windows xp / linux PHP version: 4.1.2 PHP Bug Type: Output Control Bug description: array through http form
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 bug report at http://bugs.php.net/?id=16513&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16513&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16513&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16513&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16513&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16513&r=support Expected behavior: http://bugs.php.net/fix.php?id=16513&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16513&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16513&r=submittedtwice
