<?php
$fielditems = field_get_items('node', $node, 'field_artist_instrument');
//print_r($fielditems);
$individualitem = array_shift($fielditems);
$entity = $individualitem['entity'];
print_r($entity->title);
//print render($fieldvalue);
?>
1 Response
Write a comment
You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.