assign block of html with variable to another variable
<p>What i need is :</p>

<pre><code>$myVar = '&lt;a class="thumbnail" href="$url"&gt;$text&lt;span&gt;&lt;img src="$url" /&gt;&lt;br /&gt;$text&lt;/span&gt;&lt;/a&gt;';
</code></pre>

<p>This code does not work certainly. It does not return an error because I put single quote ''</p>

<p>BUT the <code>$url</code> and <code>$text</code> won't be replaced by their values.</p>

<p>I've tried <code>htmlspecialchar</code> and <code>Endofhtml</code> functions but also does not work. </p>
