Drupal node_load display all fields I have a template for a view in which I load a node. Is there a way to get the value of all fields from that node? Like, if I add another field in CCK it will appear automatically in the template.

Something like: 

foreach $node-&gt;field
     print $value


Thanks!
Try node_view

&lt;?php
  $node = node_load($nid);
  $node_view = node_view($node);
  $rendered_node = drupal_render($node_view);
  echo $rendered_node;
?&gt;


Read: Rendering Drupal 7 fields (the right way)