I need the same html-text in different places of my script so I want to save my html text in a php variable. Kinda like this:
HTML:
<div>
<p>bla</p>
</div>
-->php:
$html="<div>\n\t<p>bla</p>\n</div>";
There are already some tools like this which transforms html text into multiple lines of php echo code. Is there also a tool for a more compact solution like in my example?