Ho vari campi in un form accoppiato così:

textfield1 e select1
textfield2 e select2
textfield3 e select3
textfield4 e select4

ecc.

Vorrei nel db MySQL settare nel campo che ha per "nick" texfield (1,2,3 e 4) il campo "numero" uguale a select (1,2,3 e 4)

cioé
nick: textfield1 avrà come numero: select1
nick: textfield2 avrà come numero: select2

devo utilizzare un ciclo "for"?
Come?



Grazie!