Not entirely sure what you&#39;re looking at there, but first take a look at the $node object to see what you have available for those fields.  There would presumably be a UID or somesuch you could use to load a user object if you need to grab more details.<div>
<br></div><div><br><div><br><div class="gmail_quote">On Fri, May 7, 2010 at 8:24 AM, Xavier Bestel <span dir="ltr">&lt;<a href="mailto:xavier.bestel@free.fr">xavier.bestel@free.fr</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi again,<br>
<br>
So I&#39;ve build this CCK node with various fields, some of them are<br>
userreferences. I want to access some values from PHP (in a custom CCK<br>
computedfield), but it doesn&#39;t seem to work:<br>
<br>
- I can access e.g. the date from my field_date using<br>
$node-&gt;field_date[0][&#39;value&#39;];<br>
<br>
- If I try to access a user from field_proprio, I get nothing. I tried<br>
$node-&gt;field_proprio[0][&#39;value&#39;] and<br>
$node-&gt;field_proprio_uid[0][&#39;value&#39;] but none of them work.<br>
<br>
Could anyone tell me how I can access a user, or which bit of the<br>
copious Drupal doc I should look at ?<br>
<br>
Thanks,<br>
        Xav<br>
<font color="#888888"><br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></blockquote></div><br><br>
</div></div>