title: How to concatenate a string with a variable to include an image
body: <pre><code>for($i ; $i &lt; $rowcount ; $i++){
      /*here i want to add an image to my page.*/
      echo"&lt;li class='streep mix'&gt;&lt;img src='img/'".$productnaam."'.jpg'\&gt;
          &lt;button&gt;
              &lt;i class='fa fa-2x fa-shopping-cart' aria-hidden='true'&gt;&lt;/i&gt;
          &lt;/button&gt;
          &lt;/li&gt;";
          echo"&lt;li class='gap'&gt;&lt;/li&gt;";
  }
  </code></pre>
  
  <p>i dont understand how to concatenate the image part</p>