title: I have a problem in displaying images from database to page
body: <p>I have created a website with an upload feature for gallery.<br>
  The upload works flawless,but it doesn't shows the images on the webpage.<br>
  I can not find the error in the code </p>
  
  <p>I have tried to display the image as a background-image for the box I created and with an image tag with the attribute src.<br>
  The last method shows me that the website is reading the image but it can not be displayed.</p>
  
  <pre><code>    &lt;div class="wrapper"&gt;
        &lt;h2&gt;Art Gallery&lt;/h2&gt;
        &lt;div class="Gallery-container"&gt;
          &lt;?php
          include_once 'includes/dbh.inc.php';
  
          $sql = "SELECT * FROM gallery1 ORDER BY orderGallery DESC";
          $stmt = mysqli_stmt_init($conn);
          if (!mysqli_stmt_prepare($stmt, $sql)) {
            echo "SQL statement failed!";
          } else{
            mysqli_stmt_execute($stmt);
            $result = mysqli_stmt_get_result($stmt);
  
            while ($row = mysqli_fetch_assoc($result)) {
              echo '&lt;a href="#"&gt;
                &lt;div&gt;&lt;img src=url(gallery/img/'.$row["imgfullnameGallery"].');&gt;&lt;/div&gt;
                &lt;h3&gt;'.$row["titleGallery"].'&lt;/h3&gt;
                &lt;p&gt;'.$row["descGallery"].'&lt;/p&gt;
              &lt;/a&gt;';
            }
          }
  
  
          ?&gt;
          &lt;/div&gt;
  
          &lt;?php
          if (isset($_SESSION['username'])) {
            echo '&lt;div class="gallery-upload"&gt;
              &lt;form action="includes/galleryupload.inc.php" method="post" enctype="multipart/form-data"&gt;
                &lt;input type="text" name="filename" placeholder="File name..."&gt;
                &lt;input type="text" name="filetitle" placeholder="Title..."&gt;
                &lt;input type="text" name="filedesc" placeholder="Description..."&gt;
                &lt;input type="file" name="file"&gt;
                &lt;button type="submit" name="submit"&gt;UPLOAD&lt;/button&gt;
              &lt;/form&gt;
            &lt;/div&gt;';
          }
  
        ?&gt;
      &lt;/div&gt;
  </code></pre>