You are here

function _taxonomy_menu_get_term_name in Taxonomy menu 6.3

get the name of a term

Parameters

$tid:

Return value

term name

File

./taxonomy_menu.database.inc, line 63
Taxonomy Menu functions that access the db

Code

function _taxonomy_menu_get_term_name($tid) {
  return db_result(db_query(db_rewrite_sql('SELECT t.name FROM {term_data} t WHERE tid = %d', 't', 'tid'), $tid));
}