note 11890 added to language.variables.external.php
| From: | mmc at nospam dot dk | Date: | Mon, 12 Mar 2001 14:52:12 +0000 |
| Subject: | note 11890 added to language.variables.external.php | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-12297@lists.php.net to get a copy of this message | ||
I had a problem with the ordering of array elements from a form...
Seems that "arr[0]" in the form only becomes $arr[0] in PHP if it is the first
"arr[*]"-element of the form. I had "arr[1]" and "arr[2]" before
"arr[0]" - resulting in arr[1] becoming $arr[0], arr[2] becoming $arr[1] and arr[0]
becoming $arr[2]... :(
Seems that only associative array indices work?
http://www.php.net/manual/en/language.variables.external.php