RE: [PHP-DB] Question: Putting separate form elements into an array
| From: | Stuart Felenstein | Date: | Sat, 16 Oct 2004 22:20:34 +0000 |
| Subject: | RE: [PHP-DB] Question: Putting separate form elements into an array | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-36860@lists.php.net to get a copy of this message | ||
See interspersed:
--- Graham Cossey <graham@cossey.plus.com> wrote:
> Have you tried naming your form elements such as
> skill[], sky[] and slu[] ?
> (You could also use skill[1], skill[2], skill[3]
> etc... within your form.)
Yes that makes sense.
> You can just as easily store the arrays in your
> $_SESSION if the processing
> is to be done later.
These are session , but put them into an array ?
> Note: Some form element types only pass a value if
> ticked/checked/selected.
The sky and slu are Dropdown Menu selects, so better
with slu[1] or slu[x]?
> This will present problems if naming your form
> elements with [], instead use
> [x], [y] etc to keep all relevant form elements
> together in the same array
> indexes. (Am I making sense?, No?, time for bed
> then...)
>
Sort of , I need to process. Have a good night !
> Graham
>
>