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
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');
?>
???
solved <?php query_posts('showposts=3&cat='.get_query_var('cat')); ?>
This topic has been closed to new replies.