Als ik een radio butten heb die naar een array verwijst dan krijg ik rare waardes in de vervolg pagina:
<input type="hidden" NAME="vr[0]" VALUE="Wat is uw geslacht?">
<input type="radio" NAME="antw[0]" VALUE="Man"> Man<BR>
<input type="radio" NAME="antw[0]" VALUE="Vrouw"> Vrouw<BR><BR>
$i=0;
print($antw[$i]);
resultaat: MVn
een oplossing zou zin de name te veranderen naar antw0
maar:
$i=0;
print($antw$i);
doet het niet weet iemand hoe ik dit probleem moet aanpakken?
<input type="hidden" NAME="vr[0]" VALUE="Wat is uw geslacht?">
<input type="radio" NAME="antw[0]" VALUE="Man"> Man<BR>
<input type="radio" NAME="antw[0]" VALUE="Vrouw"> Vrouw<BR><BR>
$i=0;
print($antw[$i]);
resultaat: MVn
een oplossing zou zin de name te veranderen naar antw0
maar:
$i=0;
print($antw$i);
doet het niet weet iemand hoe ik dit probleem moet aanpakken?