This still wont post to another form.
<?
for($i = 0; $i < $numcan ; $i++){
?>
Candidate<? echo $i; ?><input type="text" name="<? echo $can[$i]; ?>" value="<? echo $can[$i]; ?>"><BR>
<?
}
?>
What statement am i missing.
I know you can post variables with names such as "can" will be posted as "$can" but will php variable "$can[]" be posted as "$$can[] "using this method i dont know?
<form name="Addcan" action="adddb.php" method="post">
I have got this statement in other form to test array but it doesnt work
for($i=0; $i <= $numcan ; $i++) {
printf("test : $can[$i]");
}