hi ! i have a form and i submit some values using post
in the form i use somehting like this
$nrvoci=$_REQUEST['nrvoci'];$i=0;
while ( $i<= $nrvoci){?>
<tr><td width="100">Nr. <? print $i ?></td>
<td width="100"><select name="fieldnr<?print $i?>" size="1">
<option value="text">text</option>
<option value="numberfield">number field</option>
<option value="password">password</option>
<option value="textarea">text area</option>
<option value="filefield">file field</option>
<option value="selectbox">choices box</option>
</select></td><? $i++;}?>
now the problem is that i don't know how to get the selected values. how to use $_POST to get the values ?
i know that this isn't posible $newnr=$_POST['fieldnr<?print $i?>']; but how to get the values ?
in the form i use somehting like this
$nrvoci=$_REQUEST['nrvoci'];$i=0;
while ( $i<= $nrvoci){?>
<tr><td width="100">Nr. <? print $i ?></td>
<td width="100"><select name="fieldnr<?print $i?>" size="1">
<option value="text">text</option>
<option value="numberfield">number field</option>
<option value="password">password</option>
<option value="textarea">text area</option>
<option value="filefield">file field</option>
<option value="selectbox">choices box</option>
</select></td><? $i++;}?>
now the problem is that i don't know how to get the selected values. how to use $_POST to get the values ?
i know that this isn't posible $newnr=$_POST['fieldnr<?print $i?>']; but how to get the values ?