I'm trying to print the taxonomy terms (which is field_company) but it's printing node id of that article.
These are my available variables
code used in Global: PHP
<?php
$term = $row->field_company;
print($term);
?>
In my view Auto Preview, its showing like below.
article 1 Title
PHP: 2345 //these are node ids
article 2 Title
PHP: 2346 //these are node ids
article 3 Title
PHP: 2347 //these are node ids
article 4 Title
PHP: 2348 //these are node ids
What I'm expecting here is: for example in my taxonomy list (company) I have terms like,
company taxonomy terms list
-term1
-term2
-term3
article 1 Title
PHP: term1
article 2 Title
PHP: term2
article 3 Title
PHP: term2
article 4 Title
PHP: term3
article 5 Title
PHP: term1