query_posts with get_query_var(cat)
-
I’m new with PHP, so… how can I do something like this:
<?php $cat = get_query_var('cat'); query_posts('showposts=3&cat=$cat'); ?>
?
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘query_posts with get_query_var(cat)’ is closed to new replies.