Colleagues.
I have the following code:
$array = array("","A","B","C","D","E");
for($contar = 1; $contar <= 10; $contar++){
}
Each $ count is the number of questions. Eg: 1 = Who was born first. 2 = Who discovered Brazil ...
I would like it to look like this:
"Pergunta 1";
"A: <input type='radio' name='respostas[]' value='A'>";
"B: <input type='radio' name='respostas[]' value='B'>";
"C: <input type='radio' name='respostas[]' value='C'>";
....
"Pergunta 2";
"A: <input type='radio' name='respostas[]' value='A'>";
"B: <input type='radio' name='respostas[]' value='B'>";
"C: <input type='radio' name='respostas[]' value='C'>";
I'm kind of lost in for ().