Hi there!
Here is my problem:
row from my code:
...
printf("<td>Questions total:</td><td>%s\n</td></tr>", $myrow["total_qu"]);
...
If total_qu is 5 at my database above code prints:
Question total: 5
When I try to do following:
...
for ($t=1; $t <= $total_qu ; $t++) {
printf("<tr><td>Question$t:</td><td>%s\n</td></tr>", $myrow["question$t"]);
}
...
It won't print anything!!! Why! Somebody please help!!!!
Why won't $total_qu work in for sentence???