I'm trying to query posts based on a number of ID's that are contained in an array.
My array (called $my_array) looks like this:
Array
(
[0] => 108
[1] => 129
[2] => 145
)
And my Query looks like this:
<?php query_posts(array('post__in' => $my_array)); ?>
However this just returns one post, the post has the ID of the first item in the array (108).
Do I have my syntax wrong?