What would the syntax be to call existing nodes and display the content on a page within a div table?

So If I had my page and I wanted to call the nodes 81 and 87. and display them separately throughout the page and not in an array.

Thanks!

-B

Comments

nevets’s picture

I would consider using the panels and/or views modules but the php would be something like

$nid = 81;
$node = node_load($nid);
print node_view($node);

You may want to look up node_view in the API docs as it has several optional parameters.

BWoelkers-1’s picture

I was using the panels module, but I had something else in mind for this. It works though! Thanks for your help!

=]