function _DatabaseHandler::get_institution_name

4.x _DatabaseHandler.php _DatabaseHandler::get_institution_name($institution_id)
5.x _DatabaseHandler.php _DatabaseHandler::get_institution_name($institution_id)

File

classes/_DatabaseHandler.php, line 1205

Class

_DatabaseHandler

Code

function get_institution_name($institution_id) 
 {
  // Return the name of the institution...

  $res = $this->db_query("SELECT * FROM transfer_institutions
                where institution_id = '?' ", $institution_id);
  $cur = $this->db_fetch_array($res);
  return trim($cur ['name']);
}