I am running a script that processes files line by line.
It takes a while so I would like to echo a status update with each line so we can see where we are in the process.
I started reading on the output buffers but that doesn't do what I want.
My code (with the essential lines here) is:
echo 'Start the process';
// here I open a file and read it into an array, left out to keep it simple.
foreach ($uniqlist as $regel)
echo 'we are on line ' . $regel .' <br>';
Any ideas of why the output buffering is not doing what I expected?