OK. If I am using the POST method and the checkbox 'name' for all
of the checkboxes is 'system', how do I access the results? I am
researching on the PHP site trying to figure out what this array is, and how
I access this if the index name is the same for all elements. I am hoping
that this data will be in an array and I can simply loop through the
contents of the array. If this data is stored in a hash (Perl word for this
type of array, not sure if it's the same in PHP), how do I access this data
since the index for every element would be the same?
I am SURE that I am probably missing some important conceptual
issues here, but still learning as I go. Unfortunately, this probably means
that I will be completely rewriting this application at least once in the
future. Oh well, live and learn. Thanks again for the help.
-----Original Message-----
From: Ryan Jameson (USA) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 10:35 AM
To: [EMAIL PROTECTED]
Subject: RE: [PHP-DB] HTML Forms question...
<input type="checkbox" name="checkbox1" value="scoobydoo">
if this is checked the value "scoobydoo" will be put into the array with
index "checkbox1" which array is dependant on which method your form uses.
:-) If it is not checked then there is no entry. in PHP with
register_globals on the variable $checkbox1 will equal "scoobydoo" and not
be set if the box is not checked.
hope this helps...
<>< Ryan
-----Original Message-----
From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 9:28 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP-DB] HTML Forms question...
I know that this is not the forum for this question, I am only
looking for a pointer in the right direction here. I need to gain a better
understanding of HTML forms, specifically checkboxes. What I am looking for
is once I present a list of checkboxes and the user makes his selections,
how is this presented to the subsequent pages? Does anyone know of a
website that has a tutorial or good explanation of how this works? Thanks
in advance.
Scott Nipp
Phone: (214) 858-1289
E-mail: [EMAIL PROTECTED]
Web: http:\\ldsa.sbcld.sbc.com
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php