Output buffering - Echo values dynamically?
<p>I want to echo string dynamically, not all of them at once when script finished running. Tried this one, but it echos all of them when script finished running. How can I echo values dynamically ?</p>

<pre><code>&lt;?php
ob_start();

echo "Line #1...&lt;br&gt;";
ob_flush();
flush();
sleep(2);

echo "Line #2...&lt;br&gt;";
ob_flush();
flush();
sleep(2);

echo "Line #4...&lt;br&gt;";

?&gt;
</code></pre>
