Skip to main content





$query_key=mysql_query("select  from node n inner join term_node tn ON n.nid = tn.nid
 LEFT JOIN term_data td ON tn.tid = td.tid where n.nid=$nid and td.vid in ('7')");

while($rows = mysql_fetch_assoc($query_key)) {
 $row .= $rows['name'].", "; 
echo $str = rtrim($row,", ");

//$terms = taxonomy_node_get_terms($nid);// get term from nodes
//rsort($terms); //rsort() just sort an array in reverse order
//$myterm = $terms[0]--->
<p>name; //get a value //echo $myterm; ?&gt;</p>

We hope you enjoy our work.

Please support this 72-year tradition of trusted historical writing and the volunteers that sustain it with a donation to American Heritage.