mentor/view ORDER BY id

This commit is contained in:
james 2011-03-01 17:58:13 +00:00
parent ec5736c29f
commit d3801e5a17

View File

@ -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();
}