Process Forms Sequentially
Posted: Thu Jun 10, 2010 11:59 am
I think my last post on this subject was poorly done on my part. Too complicated for basically a simple question.
This is the situation in a nutshell w/o all the code etc.
I am trying to show a series of forms, 5 in this case, and process the related data by calling a function. ie:
foreach(table $key as $value) {
call function(x,y,z) {
show form for table x
return()
}
process $_POST data
}
Problem is as soon as I switch to the page with the function calls the browser shows all 5 forms at once.
How can I process the information from each form one at a time ?
Thanks, Rick P
This is the situation in a nutshell w/o all the code etc.
I am trying to show a series of forms, 5 in this case, and process the related data by calling a function. ie:
foreach(table $key as $value) {
call function(x,y,z) {
show form for table x
return()
}
process $_POST data
}
Problem is as soon as I switch to the page with the function calls the browser shows all 5 forms at once.
How can I process the information from each form one at a time ?
Thanks, Rick P