title: How to echo in PHP while the script is still executing?
body: <p>I developed a facebook application in PHP. The problem is that it takes 2 minutes to display the result. This might confuse the user, who sees a blank canvas and leaves.</p>
  
  <p>I just want to echo a statement that it is still processing. </p>
  
  <p>I tried flush(); and ob_flush(); and ob_start(); but it is of no use.</p>
  
  <p>Is there any other simpler alternative to address my specific problem? </p>
  
  <p>I tried this, but it did not work as well.</p>
  
  <pre><code>ob_implicit_flush(true);
  ob_end_flush();
  
  for ($i=0; $i&lt;5; $i++) {
     echo $i.'&lt;br&gt;';
     sleep(1);
  }
  </code></pre>
  
  <p>EDIT:</p>
  
  <p>The above code works perfectly fine with IE and other Browsers.
  Only Chrome has this issue. </p>