Display placeholder while results are loading
<p>I have a page that includes various blocks of information retrieved from db. Those blocks are arranged into sections and currently all that code is withing a long PHP page, so every time I load a page, there's a delay with its display. I would like to be able to load the page faster and place some sort of "loading..." or image placeholder in the section where the content will be loaded. I see it done frequently on other sites. How do I accomplish that? Do I need to break my long PHP page into:</p>

<ol>
<li><p>Main layout page</p></li>
<li><p>Place each block with data from db into a separate page, and </p></li>
<li><p>Use includes to insert into main page. </p></li>
</ol>

<p>How would I place "loading" while the content is being generated?</p>

<p>Just trying to better understand the process. I also use jQuery. Perhaps there's a pluging that can help with this?</p>

<p>Thanks.</p>
