RE: Question: Putting separate form elements into an array

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

 



See interspersed:

--- Graham Cossey <graham@xxxxxxxxxxxxxxx> 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
> 
>

-- 
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