forked from science-ation/science-ation
whoops fix the students to stop concatenating them all together
This commit is contained in:
parent
1428c42f00
commit
a32964de2d
@ -137,6 +137,7 @@ if($_GET['year'] && $_GET['type'])
|
|||||||
");
|
");
|
||||||
|
|
||||||
$studnum=0;
|
$studnum=0;
|
||||||
|
$students="";
|
||||||
while($studentinfo=mysql_fetch_object($sq))
|
while($studentinfo=mysql_fetch_object($sq))
|
||||||
{
|
{
|
||||||
if($studnum>0) $students.=", ";
|
if($studnum>0) $students.=", ";
|
||||||
|
Loading…
Reference in New Issue
Block a user