RE: HTML Forms question...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



	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:RJameson@usa.ibs.org]
Sent: Tuesday, November 19, 2002 10:35 AM
To: php-db@lists.php.net
Subject: RE:  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:sn4265@sbc.com]
Sent: Tuesday, November 19, 2002 9:28 AM
To: 'php-db@lists.php.net'
Subject:  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:  sn4265@sbc.com
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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux