Hello,
cant seem to work out how i grab multiple nids of a node reference field.
$node->field_name[0]['nid'] picks up the node id of the cck node reference field.
however when that cck node reference field has more than one value i get stuck!
my php is abit sketchy atm so working with arrays and loops is being quite difficult!
here is my code:
<?php foreach ((array)$node->field_industry as $item) { ?>
<li><a href="../industry/company/<?php print --NODEID--?>"><?php print $item['view'] ?></a></li>
<?php } ?>