Hail,
Let's say I have three text boxes in my submit form that I name the same to put in an array:
<input name='txtInput[]' size='5'>
<input name='txtInput[]' size='5'>
<input name='txtInput[]' size='5'>
If I want to know the value of textbox # 2, how would I do that?
I thought:
msgbox txtInput(2).value
But obviously that doesn't work... the reason I'm doing it this way, is that I nee the array for PHP where as once submitted I can retrieve the values from each text box
Thanks
Phailak
Let's say I have three text boxes in my submit form that I name the same to put in an array:
<input name='txtInput[]' size='5'>
<input name='txtInput[]' size='5'>
<input name='txtInput[]' size='5'>
If I want to know the value of textbox # 2, how would I do that?
I thought:
msgbox txtInput(2).value
But obviously that doesn't work... the reason I'm doing it this way, is that I nee the array for PHP where as once submitted I can retrieve the values from each text box
Thanks
Phailak