> Some questions about how to get a whole bunch of fields in a form as
> input to another page, i.e. *.cgi, or*.phpx:
>
> 1/ All fields, buttons, etc have to have different names?
Mostly, although it's common to:
A) Name several "submit" buttons the same, say $action, and the use the
value of $action (the text from the button) to decide what to do in your
script
B) Name multiple checkboxes as NAME=foo[] and then you have an array $foo in
your processing script
C) Name all radio buttons in a single group the same, since that's pretty
much the only way to get them to be radio buttons.
> 2/ Using 'selected' on pulldowns automatically returns that
> value
> unless selected?
Yes.
> 3/ The WHOLE PAGE is included in one form?
> -OR-
> Multiple forms are used on one page, and submit button returns
> All forms?
A single SUBMIT button can only return one (1) form.
A single form might have multiple SUBMIT buttons.
A single page might have multiple FORMs.
Depends on how you want to design your pages and what makes it easiest for
you to navigate and write organized PHP code.
--
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out? Like Music? Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
--
PHP General 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]