Your script is unfortunately failing and gives the following error:
Totalen per groep
Warning: mysql_fetch_array(): supplied argument is not a valid MySQL result resource in
.........line 28
Line 28 is:
while($Aantal = mysql_fetch_array($Telling)){
I searched the internet and found http://nl3.php.net/mysql_fetch_array.
There they mentioned "result_type ->
The type of array that is to be fetched. It's a constant and can take the following values: MYSQL_ASSOC, MYSQL_NUM, and the default value of MYSQL_BOTH. "
So I also tried
while($Aantal = mysql_fetch_array($Telling, MYSQL_BOTH)){
But that gives the same error.
Any idea how to fix this?