From d3801e5a177f4aa88276e5a938a60a635ed8a582 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 1 Mar 2011 17:58:13 +0000 Subject: [PATCH] mentor/view ORDER BY id --- register_participants.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/register_participants.inc.php b/register_participants.inc.php index dc3f9c9..16e7fdd 100644 --- a/register_participants.inc.php +++ b/register_participants.inc.php @@ -680,7 +680,7 @@ function getMentors($registrations_id){ } $fields = getMentorFields(); - $query = mysql_query("SELECT `" . implode('`,`', $fields) . "` FROM mentors WHERE registrations_id = $registrations_id"); + $query = mysql_query("SELECT `" . implode('`,`', $fields) . "` FROM mentors WHERE registrations_id = $registrations_id ORDER BY id"); if(mysql_error()){ return "register_participants.inc.php::getMentors -> " . mysql_error(); }