faqts : Computers : Programming : Languages : PHP : Common Problems : Forms and User Input

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

5 of 14 people (36%) answered Yes
Recently 2 of 10 people (20%) answered Yes

Entry

In a multiple page form how can you have multiple answers posted for the same variable?

Jan 3rd, 2001 17:01
Dominique Hess, Elizabeth Sackrider, Ben Udall,


Maybe you're looking for this:
You have e.g. multiple checkboxes, so you name them e.g. name="checkbox1
[]"
then every value are saved by posting in the $checkbox1[] array.
Hope, it's the right answer, or I misunderstood your question.