RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread Ryan Jameson (USA)
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

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread NIPP, SCOTT V (SBCSI)
(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

Re: [PHP-DB] HTML Forms question...

2002-11-19 Thread 1LT John W. Holmes
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

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread Rich Gray
Message- From: NIPP, SCOTT V (SBCSI) [mailto:[EMAIL PROTECTED]] Sent: 19 November 2002 08:53 To: 'Ryan Jameson (USA)'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] HTML Forms question... OK. If I am using the POST method and the checkbox 'name' for all of the checkboxes is 'system', how do

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread Ryan Jameson (USA)
, 2002 6:13 PM To: NIPP, SCOTT V (SBCSI); [EMAIL PROTECTED] Subject: RE: [PHP-DB] HTML Forms question... If you name the checkbox as name=system[] then PHP will automatically create an array of the checkbox values which can be subsequently accessed via $_POST['system'][n] - be warned however

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread Ford, Mike [LSS]
-Original Message- From: Rich Gray [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 01:13 If you name the checkbox as name=system[] then PHP will automatically create an array of the checkbox values which can be subsequently accessed via $_POST['system'][n] - be warned however

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread Hutchins, Richard
: Tuesday, November 19, 2002 1:35 PM To: 'Rich Gray'; NIPP, SCOTT V (SBCSI); [EMAIL PROTECTED] Subject: RE: [PHP-DB] HTML Forms question... -Original Message- From: Rich Gray [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 01:13 If you name the checkbox as name=system

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread Hutchins, Richard
=javascript:myfunction(objectName)) as long as the function is included in the page. Sorry for any confusion. -Original Message- From: Hutchins, Richard [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 1:45 PM To: [EMAIL PROTECTED] Subject: RE: [PHP-DB] HTML Forms question... Not only

Re: [PHP-DB] HTML Forms question...

2002-11-19 Thread Ignatius Reilly
] [EMAIL PROTECTED] To: 'Rich Gray' [EMAIL PROTECTED]; NIPP, SCOTT V (SBCSI) [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Tuesday, November 19, 2002 7:35 PM Subject: RE: [PHP-DB] HTML Forms question... -Original Message- From: Rich Gray [mailto:[EMAIL PROTECTED]] Sent: 20 November 2002 01:13

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread NIPP, SCOTT V (SBCSI)
: Tuesday, November 19, 2002 6:13 PM To: NIPP, SCOTT V (SBCSI); [EMAIL PROTECTED] Subject: RE: [PHP-DB] HTML Forms question... If you name the checkbox as name=system[] then PHP will automatically create an array of the checkbox values which can be subsequently accessed via $_POST['system'][n

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread NIPP, SCOTT V (SBCSI)
- From: 1LT John W. Holmes [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 19, 2002 11:11 AM To: NIPP, SCOTT V (SBCSI); 'Ryan Jameson (USA)'; [EMAIL PROTECTED] Subject: Re: [PHP-DB] HTML Forms question... OK. If I am using the POST method and the checkbox 'name' for all of the checkboxes

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread Hutchins, Richard
Jameson (USA)'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] HTML Forms question... OK. This has been most helpful, but now I am getting something strange. The first element of the array of data is behaving strangely. For the code snippet below I am not getting the first selected

RE: [PHP-DB] HTML Forms question...

2002-11-19 Thread NIPP, SCOTT V (SBCSI)
'; 'Ryan Jameson (USA)'; [EMAIL PROTECTED] Subject: RE: [PHP-DB] HTML Forms question... OK. This has been most helpful, but now I am getting something strange. The first element of the array of data is behaving strangely. For the code snippet below I am not getting the first