I am looking for displaying a view using php code for a particular node id. I have found this code working.
$view = views_get_view('my_view');
This code is also working
print views_embed_view('my_view', 'default', $node->nid);
I need to show the view for a particular node id. The codes above displays the whole block. Can I know how to show a particular content with a particular node id( for example node id=4).
Expecting a little help as I am stuck here for a while.