title: How insert PHP output into html div replacing temp graphic
body: <p>I need to display an html page and within the page is a div  into which I want to echo the output of a PHP page.</p>
  
  <p>While the PHP page is being fetched and prepared I want to display a "Loading" msg and a temporary gif.</p>
  
  <p>I have the html code working
  and I have the PHP code working/echo'ing.</p>
  
  <p>How do I echo the contents of the PHP page to replace the original contents of the Div.? 
  (I guess - with an include:file and an innerhtml statement, but how/where?)</p>
  
  <p>A Javascript solution would be fine.</p>
  
  <p>Thanks</p>