how to echo variable in a div using php
<p>In the following php code , I am trying to echo the values of $title and $desc but it doesnot show values just showing variable names. Any help will be appreciated.</p>

<pre><code>foreach ($prod as $product) { 
    $title=$product['title'];
    $desc=$product['desc'];

    echo '
    &lt;div class="detail"&gt;
    &lt;div class="img"&gt;&lt;img src="images/pro1.png"/&gt;&lt;/div&gt;
    &lt;div class="textdetail"&gt;&lt;p&gt;&lt;b&gt;$title&lt;/b&gt;&lt;br /&gt;&lt;/p&gt;
    &lt;p&gt;&lt;a href="#"&gt;$desc&lt;/a&gt;&lt;/p&gt;
    &lt;/div&gt;&lt;br /&gt;
    &lt;/div&gt;';
}
</code></pre>
