Reputation: 34956
On a node I have a cck reference to another node. What do I have to do to get nid of the referenced node.
Is it something like:
$node->field_name... uh something.
Anyone knows? Thanks.
Upvotes: 0
Views: 915
Reputation: 769
$node->field_name[0]['nid']
Upvotes: 1