title: How do I properly concatenate this PHP echo statement with a string and a function?
body: <pre><code>//top of the code just consists of an if statement and some code.
  case 'itemimage' :
  
          echo '&lt;div class="product-preview-image" style="background: red; height:75px; width:75px;"&gt;&lt;img href=' . &lt;?php grab_item_image(); ?&gt; . "&lt;/div&gt;"';
  break;
      }
  }
  </code></pre>
  
  <p>That was my attempt but it does not look rite on my text editor. I am also using inline-css not sure if that matters.</p>
  
  <p>The only thing that i'm trying to echo out is this div with the function providing an href.</p>
  
  <pre><code>&lt;div class="product-preview-image" style="background: red; height:75px; width:75px;"&gt;&lt;img href="#thephpfunctionhere"&lt;/div&gt;
  </code></pre>
  
  <p>It's kind of confusing me with all the single and double quotes.</p>