forked from science-ation/science-ation
Schools and students were not being properly numbered in the Registration Summary. Ref: Bug 90
This commit is contained in:
parent
ea44b0b49b
commit
0e9a889e4f
@ -108,10 +108,10 @@ echo mysql_Error();
|
|||||||
$studnum=1;
|
$studnum=1;
|
||||||
while($studentinfo=mysql_fetch_object($q))
|
while($studentinfo=mysql_fetch_object($q))
|
||||||
{
|
{
|
||||||
if($studnum==1)
|
echo "<tr><td><b>".i18n("School %1",array($studnum))."</b></td><td>$studentinfo->school </td></tr>";
|
||||||
echo "<tr><td><b>".i18n("School")."</b></td><td>$studentinfo->school </td></tr>";
|
|
||||||
|
|
||||||
echo "<tr><td><b>".i18n("Student %1",array($studnum))."</b></td><td>$studentinfo->firstname $studentinfo->lastname </td></tr>";
|
echo "<tr><td><b>".i18n("Student %1",array($studnum))."</b></td><td>$studentinfo->firstname $studentinfo->lastname </td></tr>";
|
||||||
|
$studnum++;
|
||||||
}
|
}
|
||||||
|
|
||||||
echo "</table>\n";
|
echo "</table>\n";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user