I have a function that returns an array os posts ids.
At the moment, everytime i have a query i have to to this:
$ids = agendados();
query_posts(array('post__not_in' => $ids );
Is there a way to maintain the array by calling that on header.php and use this array everytime a do a query_posts?
I think that doing on my way its a overload of querys..
Thanks m8s Sorry about my poor english