I can't make the following work. I know it's because of the PHP function inside the string of HTML, but I don't know how to fix it.
echo '<aside class="tipContainer">'.'<div>'.'<h1>'.$header.'</h1>'.'<img src="<?php bloginfo('template_url'); ?>/images/pencil_Tip.gif" alt="">'.'</div>'.'<p>'.$content.'</p>'.'</aside>';
I receive this error: unexpected T_STRING, expecting ',' or ';' in ....