diff --git a/register_participants.php b/register_participants.php index 8f5c78ed..210eff00 100644 --- a/register_participants.php +++ b/register_participants.php @@ -265,7 +265,7 @@ echo "<input type=\"hidden\" name=\"action\" value=\"login\">"; echo i18n("Email Address:")." ".$_SESSION['email']."<br />"; echo i18n("School: "); - $q=mysql_query("SELECT id,school FROM schools WHERE year='".$config['FAIRYEAR']."'"); + $q=mysql_query("SELECT id,school FROM schools WHERE year='".$config['FAIRYEAR']."' ORDER BY school"); echo "<select name=\"schoolid\">"; echo "<option value=\"\">".i18n("Choose your school")."</option>\n"; while($r=mysql_fetch_object($q))