I have created 4 nodes by a content type called insert_item using CCK; now I am trying to load all CCK fields into a template of a new node where I would use the CCK field value of the insert_item content type.
What I have written is the following code:
$nodes = array();
$result = db_query("SELECT nid FROM {node} WHERE type = 'insert_item'");
while ($row = db_fetch_object($result)) {
$nodes[] = node_load($row->nid);
print $nodes;
}
What I got is the following:
ArrayArrayArrayArray
I really don't know what to do.