title: div inside php echo
body: <p>i have this: </p>
  
  <pre><code>&lt;?php  
         if ( ($cart-&gt;count_product) &gt; 0) { 
             print $cart-&gt;count_product; 
         } else { 
             print ''; 
         }  
  ?&gt;
  </code></pre>
  
  <p>and i need to put <code>print $cart-&gt;count_product</code> inside of <code>&lt;div class="my_class"&gt;&lt;/div&gt;</code></p>
  
  <p>I tried different ways, but i'm missing something in syntax. I'll be glad if someone could help. </p>