title: How do I display an image using IMG SRC that is within a massive block of PHP?
body: <p>I've been looking for the solution for this and I'm sure it's an easy fix, but I can't figure it out.  I'm basically querying for products in my database.  I've stored thumbnail images in a folder corresponding to the product_id.  The only thing I can't get to display is the image.  Please fill me in on where I'm going wrong.  Thanks a ton!</p>
  
  <pre><code>$products = get_products();
  
  if (empty($products)) {
      echo '&lt;p&gt;No products to display yet&lt;/p&gt;'; 
  } else {
      foreach ($products as $product) {
          echo '&lt;img src="../uploads/thumbs/&lt;?php echo $product_id; ?&gt;/&lt;?php echo $product_id; ?&gt;.jpg", &lt;p&gt;&lt;a href="view_product.php?product_id=', $product['id'], '"&gt;', $product['name'], '&lt;/a&gt;&lt;br/&gt;', $product['description'], '...&lt;br/&gt;
          &lt;/p&gt;';
      }
  }
  </code></pre>