:36 PM
> To: '1LT John W. Holmes'; '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
&
o: '1LT John W. Holmes'; '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
> strange
meson (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 I access the results? I am
> researching on the PHP site trying to figure out
t: RE: [PHP-DB] HTML Forms question...
You learn something new every day! I'll have to remember the [] thing.
My way of handling this situation that does not screw up JavaScript is to
assign the names sequentially, so instead of all the checkboxes being system
they would be system0,system1,...
Ford, Mike [LSS]" <[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...
> > --
Click="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
L PROTECTED]]
> Sent: 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 No
> -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 warn
PHP usually
creates the JavaScript code as well, so it ends up being pretty flexible.
<>< Ryan
-Original Message-
From: Rich Gray [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, November 19, 2002 6:13 PM
To: NIPP, SCOTT V (SBCSI); [EMAIL PROTECTED]
Subject: RE: [PHP-DB] HTML Forms
ect...
HTH
Rich
-Original 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 'nam
> 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
e-
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...
if this is checked the value "scoobydoo" will be put into the array with
index "checkbox1" which arra
obydoo" 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,
h
14 matches
Mail list logo