I have to get multiple posts in wordpress by ID.
I believed that that may work, however it only provides the first publish.
I attempted then to make use of an assortment:
$args = array( 'p' => array(34,36));
That shipped no results.
get_posts('p=34+36'); NO and
get_posts('p=34&p=36'); 4g iphone only
$args = array( 'post__in' => array(34,36) );
Make sure to take a look at http://codex.wordpress.org/Class_Reference/WP_Query too, the section Getting together with Wordpress_Query can be really valuable for you.