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.