Hi,
I have a form that has a different number of textboxs for different users. Some have 2 or 3, some have over 10. I want to pass the contents of this form to a function. At the moment I have
if ($submit){
update_table($textbox1,$textbox2,$textbox3.....$textbox10);
}
Is there anyway I can do this without having to include each individual textbox? Possibly someway of including them as a whole whether its 2 or 3, or 10+. That way if textbox10 doesn't exist, it doesn't try to pass the value!
Many Thanks
Ben