I have a report that is of notes, but by inserting this code
while($notas = mysql_fetch_assoc($r_notas)) {
$html.='<td class="tdClass"><b>'.$notas['asignatura'].'</b></td>
<td class="tdClass">'.$notas['nota_1'].'</td>
<td class="tdClass">'.$notas['nota_2'].'</td>
<td class="tdClass">'.$notas['nota_3'].'</td>
<td class="tdClass">'.$notas['nota_4'].'</td>
<td class="tdClass">'.$notas['nota_5'].'</td>
<td class="tdClass">'.$notas['nota_6'].'</td>
<td class="tdClass">'.$notas['nota_7'].'</td>
<td class="tdClass">'.$notas['promedio'].'</td>';
}
It does not show me the rows of the table, I even tried doing it without variables and I did it with any text, but it does not show anything, but if I do another cycle as foreach it shows me the rows, but in this case it does not work for me cycle I believe. I do not want to put all the code, because it's a lot, but basically that line is just the problem.