forked from science-ation/science-ation
mentor/view ORDER BY id
This commit is contained in:
parent
ec5736c29f
commit
d3801e5a17
@ -680,7 +680,7 @@ function getMentors($registrations_id){
|
|||||||
}
|
}
|
||||||
|
|
||||||
$fields = getMentorFields();
|
$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()){
|
if(mysql_error()){
|
||||||
return "register_participants.inc.php::getMentors -> " . mysql_error();
|
return "register_participants.inc.php::getMentors -> " . mysql_error();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user