im using a loop to recreate a form 5 times, consisting of a drop down menu and a text field. to name them, i use
"<input name=\"code".$x."\" (and so on)
so the names of the 5 fields are code1, code2, code3, code4, code5. so my question is is this a good way to name them? cause im kinda having trouble with the handling form. im not sure how to loop thru them. i thought i could just increment the numbers at the end of code# by appending something like code.$x or something like that. rite now i just have 5 separate if statements for each code#.
another thing, after all this form is processed and results displayed, i want to put checkboxes right next to each search result to perform another operation. how should i name those checkboxes?
THANKS!