title: SQL Query PHP, populate content quickly
body: <p>Not sure I worded the title correctly, I'm unsure of what this is called.</p>
  
  <p>I have a while loop which is populated by an SQL query </p>
  
  <pre><code>while($row = $result-&gt;fetch_assoc()){
      $Tchannel = $row['chan'];
      echo  '&lt;img src="https://static-cdn.jtvnw.net/previews-ttv/live_user_'.$Tchannel.'-320x180.jpg" alt="Thumbnail"&gt;&lt;br /&gt;';
      echo '&lt;p&gt;';
  }
  </code></pre>
  
  <p>My problem is that when the page loads it does it in sections. I've seen other websites populate these straight away on page load. How would I replicate something like this? </p>
  
  <p>See Example: <a href="http://puu.sh/oTh6v/73446c0c15.jpg" rel="nofollow">http://puu.sh/oTh6v/73446c0c15.jpg</a></p>