Undefined variable: products and Invalid argument supplied for foreach()
<p>Im trying to display the items in my database on my web page but i get Invalid argument supplied for foreach() and Notice: Undefined variable: products. I searched for an answer but cant find one here is my code  </p>

<pre><code>     &lt;?php
         foreach ($products as $product):
      ?&gt;
           &lt;blockquote&gt; 
               &lt;p&gt;
                 &lt;?php echo htmlspecialchars($product, ENT_QUOTES, 'UTF-8');?&gt;
               &lt;/p&gt; 
           &lt;/blockquote&gt;
    &lt;?php endforeach; ?&gt;
</code></pre>
