title: #document in Object
body: <p>I'm having a weird problem here, I execute following php script to then echo it in my HTML. The thing is, after the echo Object gets the following in it:</p>
  
  <blockquote>
  <pre><code>\#document
  &lt;html&gt;...(body+head both empty)&lt;?html&gt;
  </code></pre>
  </blockquote>
  
  <p>my script</p>
  
  <pre><code>while ($row = mysqli_fetch_array($query)){
  
      $id = $row["id"];
      $youtube = $row["youtube"];
      $name = $row["title"];
      $votes = $row["votes"];
      $select .= "&lt;div class='select' id='$id'&gt;
                      &lt;object data='http//img.youtube.com/vi/$youtube/0.jpg'&gt;&lt;/object&gt;
                      &lt;p&gt;$name | Stemmen: $votes&lt;/p&gt;
                  &lt;/div&gt;";
  
  }
  </code></pre>