note 10553 added to Array Functions
| From: | pccastle at sina dot com | Date: | Wed, 10 Jan 2001 07:40:44 +0000 |
| Subject: | note 10553 added to Array Functions | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-9537@lists.php.net to get a copy of this message | ||
I test the problem above, but i have not get the result. Each function is work good! Here is my two
program!
//test1.php
<form action=test2.php method=post>
<input type=hidden name=var[8eccbad8e776e] value="php2000">
<input type=submit value=submit>
</form>
//test2.php
<?
$msg = each($var);
echo $msg[0],$msg[1],$msg['key'],$msg['value'];
?>
//output is
8eccbad8e776ephp20008eccbad8e776ephp2000
http://www.php.net/manual/ref.array.php