How can I call a function into another function?
-
How can I call a function into another function?
Example:
<?php
query_posts(‘tag=one’);
?>
show only post with tag one…but if tag is a variable?How insert <?php single_tag_title(); ?> instead of one ???
If try:
<?php
query_posts(‘tag=<?php single_tag_title(); ?>’);
?>I’ve get an error..
How can I resolved it?Thanks
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How can I call a function into another function?’ is closed to new replies.