title: Why I can't echo div?
body: <p>I have code for list values from database but when I add them to <code>echo "&lt;div&gt;"</code> it stops working</p>
  
  <p>My code:</p>
  
  <pre><code>$sql = "SELECT name, size, type, username FROM Files";
          $result = $conn-&gt;query($sql);   
  
          if ($result-&gt;num_rows &gt; 0)
          {
              while($row = $result-&gt;fetch_assoc()) 
              {
                  echo "&lt;div class='filediv'&gt;";
                  echo "&lt;a href='uploads/$row['name']' download&gt;$row['name']&lt;/a&gt;";
                  echo "&lt;p&gt;Size: $row['size']KB&lt;/p&gt;";
                  echo "&lt;p&gt;Type: $row['type']&lt;/p&gt;";
                  echo "&lt;p&gt;Creator: $row['username']&lt;/p&gt;";
                  echo "&lt;/div&gt;";
                  echo "&lt;hr&gt;";
              }
          }
  </code></pre>