It outputs if there are 3 records 2 and 3, but 1 doesn’t output, how to do? Those. there are 3 students: 11 class B he will print only 2 and 3.
Answer 1, authority 100%
That’s it, I solved the problems, it was necessary to remove the quotes from 11, firstly, and secondly, I put
$result4 = mysql_query($query4, $link4);
Remove this line before the loop: