Insert Variable into Query Posts for Post ID?
-
Hey All,
I am trying to build a query which results in one post being retrieved from a certain range if IDs. I have tried this:
<?php query_posts(“p=’.rand(50, 70).’&showposts=1”); ?>
But it doesn’t seem to work. Could someone possibly point me in the right direction?
Many Thanks,
Oliver
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Insert Variable into Query Posts for Post ID?’ is closed to new replies.