How to get term name using PHP code in views? Drupal 6! how can i get term name of current term using PHP code? I am using it in views. Thank you.

I dont know why, but the below code doesant work:

$term = taxonomy_get_term($tid);
$name = $term-&gt;name;
If you want to get the term name of current node in views you can make use of Content: All taxonomy terms field. There is no need for diving into PHP code.