problem with : echo
-
hi
i have always problems with “echo”, this time i add the tag:
<?php bloginfo(‘stylesheet_directory’); ?>/cat-banner/
and the script dont work, error message :
Parse error: syntax error, unexpected T_STRING, expecting ‘,’ or ‘;’<?php foreach((get_the_category()) as $category) { echo '<?php bloginfo('stylesheet_directory'); ?>/cat-banner/' . $category->cat_name . '.jpg" alt="' . $category->cat_name . '" />'; } ?>
Thanks for help.
Viewing 9 replies - 1 through 9 (of 9 total)
Viewing 9 replies - 1 through 9 (of 9 total)
- The topic ‘problem with : echo’ is closed to new replies.