Fail query_posts on multiple categories
-
For a form I am populating a combo-box with:
<?php query_posts('category_name=upcoming-trips'); ?>
This works fine until I try another category:
<?php query_posts('category_name=upcoming-trips,closed'); ?>
Then the whole query fails, and I get no results.
What am I doing wrong?
Viewing 8 replies - 1 through 8 (of 8 total)
Viewing 8 replies - 1 through 8 (of 8 total)
- The topic ‘Fail query_posts on multiple categories’ is closed to new replies.