Hi guys,
I want to show a specific wordpress post in a modal popup. I've retrieve the post id via ajax, but when I query for the post with the code bellow it throws error:
Code:
query_posts(array(
	'post__in' => $post_id
));
if ( have_posts() ) :
	while ( have_posts() ) : the_post();
		the_content();
	endwhile;
endif;
My Google search suggests that I should do the query this way. But why it isn't working?

Thank you,