How to get the field values of a content type in drupal -


how can field value of custom content type. have created custom content type using cck module. there function array of fields of particular content type.

for example: can profile details using content_profile_load() function. there function similar this.

if viewing node, values stored in $node variable. print_r($node); see available values in node object.

otherwise use node_load() load node object. more on node_load(): http://api.drupal.org/api/drupal/modules--node--node.module/function/node_load/7


Comments

Popular posts from this blog

c# - SharpSVN - How to get the previous revision? -

c++ - Is it possible to compile a VST on linux? -

url - Querystring manipulation of email Address in PHP -