@Declan1991Oct 02.2007 — #What do you want to do in PHP? You cannot access form elements like that using PHP because they don't exist yet. But the loop: [code=php] for ($i=1; $i<=$numQues; ++$i) { $correctAnswers += i.". ".$answers[$i-1]."rn"; }[/code]
@vax90authorOct 03.2007 — #actually sir the variable "correctanswer" is going to pass to the HTML form
like the <textarea> so by the time it display the output by html the output is
is this
this is the variable content = " $correctAnswer="1. onr2. inr3. atr"; "
so literally the textarea automatically loop the content of the variable "correctAnswer" instead of using an array i just use a normail string variable,thank for your effort !