I stored a list of names using the following code :
for($i=1; $i <= $numcan ; $i++) {
?>
<?='Candidate ',$i?>. <INPUT TYPE=text NAME=can<?=$i?> SIZE=40 MAXLENGTH=50><BR>
<?
}
and i tried using :
for($i=1; $i <= $numcan ; $i++) {
printf("test : $can[$i]");
}
to test if they would be printed out successfully but all that i got was the word "test" printed out 3 times.
$numcam = 3