title: Why is my images not appearing, when trying to get them from database
body: <p>Hiya I am getting information from my database to present onto the webpage, everything is correct with connection as the information is present on the page.</p>
  
  <p>But when it comes to the pictures they come up with a little box of where they are meant to be.
  Heres the code I have:</p>
  
  <pre><code>&lt;?php
  error_reporting(0);
  require './db/connect.php';
  include './includes/header.php';
  ?&gt;
  
  &lt;h2&gt;Production&lt;/h2&gt;
  
  &lt;?php
  if($result = $connection-&gt;query("SELECT * FROM Production")){
  if($count = $result-&gt;num_rows){
        $Image = $rows['Image'];      
      while($row = $result-&gt;fetch_object()){
          echo '&lt;pre&gt;'.'&lt;img class="productionimages" src="path/'.$Image.'" /&gt;',' '
                  ,$row-&gt;ProductionName,' ',$row-&gt;ProductionType, '&lt;/pre&gt;';
      }
      $result-&gt;free();
      }
  }
       echo $result; 
  
  include './includes/footer.php';
  ?&gt;
  </code></pre>
  
  <p>Heres a picture below of what appears on the screen.</p>
  
  <p><img src="https://i.stack.imgur.com/fKuAY.gif" alt="Problem I am having"></p>