I don't think that ASP will automatically create arrays even if the names of the form fields look like them. PHP does, ASP does not.
Anyway, it is a matter of giving unique names to the formfields. The alternative is guessing that the order of the fields in the form equals the order in which the browser passes them to the server. That is not reliable enough.
Main Topics
Browse All Topics





by: ArasianPosted on 2009-10-19 at 16:51:44ID: 25609948
You can name your form elements with arrays.
;
mailprint[1]
mailprint[2]
Even multi-dimensionally
mailprint[1][name]
mailprint[1][address]
Then simply (pseudocode)
for i=0; i < size_of(mailprint); i++ :
do_something(mailprint[i])