Chris,

Problem solved by hardcoding.

Thanks,

Ray.

PS:  Am still working on Mindspring!

-----Original Message-----
From: Bug Database [mailto:[EMAIL PROTECTED]]
Sent: Sunday, March 25, 2001 5:58 PM
To: [EMAIL PROTECTED]
Subject: PHP 4.0 Bug #9973 Updated: See below


ID: 9973
Updated by: cnewbill
Reported By: [EMAIL PROTECTED]
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] [EMAIL PROTECTED]
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


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to