In Views PHP code, I could render a field by :-
<?php print drupal_render($data->field_field_my_text); ?>
But this only seems to work field with type Text. I have a field which is Taxonomy (Term Reference) and I am trying to output that through the above code but it's not working.
This is what I wrote:-
<?php print drupal_render($data->field_field_my_category); ?>
Unfortunately, this is not working. Any idea what I should do here?