<div> <% echo $var; %> <p>Some text <% echo $var; %> and some more text</p> <%= $var . ' and some more text to make sure the snippet works'; %> <p>Some text <%= $var %> and some more text</p> </div>
info at phpclasses dot org