if I print the following:
printf("<td>questions:</td><td>%s</td></tr>", $myrow["total_ques"]);
It prints (for example)
questions: 5
but when I use $total_ques at for loop:
for($i=1; $i<=$total_ques; $i++){
print "<tr><td>Kysymys $i</td>";
printf ("<td>%s</td></tr>", $myrow["question$i"]);
}
it prints nothing!!!
How can I use the $total_ques at for loop?