PHP 4.0 Bug #9973 Updated: See below
| From: | cnewbill@php.net | Date: | Sun, 25 Mar 2001 22:58:13 +0000 |
| Subject: | PHP 4.0 Bug #9973 Updated: See below | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-49916@lists.php.net to get a copy of this message | ||
ID: 9973
Updated by: cnewbill
Reported By: rcherry@raysoft.net
Old-Status: Open
Status: Bogus
Bug Type: Scripting Engine problem
Assigned To:
Comments:
This is browser-specific behavior. IE 5 will not send the other two, because they have no value and
it would be inefficient to do so. Same with Netscape 6, don't have that crud Netscape 4 around
to test. So, c[2] is actually c[0] because the other two don't exist.
If you want them in a specific order you should hardcode the indexes. c[0], c[1], c[2], etc.
As for Mindspring, gripe, gripe, gripe. It still probably won't get you anywhere.
-Chris
Previous Comments:
---------------------------------------------------------------------------
[2001-03-24 15:58:53] rcherry@raysoft.net
In an HTML form, I have created an array of check boxes with the name c[] for each box.
I checked the third box on the form. I expected c[0] and c[1] to be undefined, and c[2] to be
"ON". What happened was that only c[0] was defined. A really cool approach now
won't work.
How do I work around this?
Related Topic: How do I convince Mindspring to upgrade to PHP 4?
BTW: Love PHP!!!
Thanks
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9973&edit=2