heys guys i need your help, ive created a page where a user can input the number of textbox he needs to iputs some fields, here the code:
$ctr=1;
while($ctr <= $poll_specific)
{
echo "<tr><td align='right'>";
echo "<div id ='normal'>" . "Option " . $ctr . ": ". "</div>";
echo "</td><td>";
echo "<input name='opt$ctr' type='text' maxlength='20' size='60'>";
echo "</td></tr>";
$ctr++;
}
...now heres the problem on the next page how can i recover the textboxes? im trying to use the method _GET
$ctr=1;
while($ctr <= $poll_specific) //poll_specific is the # of txtbox
{
$option[$ctr]=$_GET[' '];
$ctr++;
}
WHAT SHOULD I PUT INSIDE THE $_GET[' ']?????
$ctr=1;
while($ctr <= $poll_specific)
{
echo "<tr><td align='right'>";
echo "<div id ='normal'>" . "Option " . $ctr . ": ". "</div>";
echo "</td><td>";
echo "<input name='opt$ctr' type='text' maxlength='20' size='60'>";
echo "</td></tr>";
$ctr++;
}
...now heres the problem on the next page how can i recover the textboxes? im trying to use the method _GET
$ctr=1;
while($ctr <= $poll_specific) //poll_specific is the # of txtbox
{
$option[$ctr]=$_GET[' '];
$ctr++;
}
WHAT SHOULD I PUT INSIDE THE $_GET[' ']?????