i have a long hours working foreach loop which outputs correctly at the end when all items are processed.. 

```
    foreach ($matches[0] as $map_link) {
    if ($map_link!='' && $i < $max_tags ) {
        include('reg-process.php');
    }

    $i++;
    }

```

infact for each $matches[0] which are over 600 matches it includes the 
'reg-process.php' page which processes each match in turn and after over one hour it finishes and outputs all results ..
what i need is not to wait till the last item to see results, so while the loop is working after each item is processed it could be echoed.. 
so again i need every time the loop includes 'reg-process.php' page print out 
the result , not to wail up to the last item then all print out at once.. something like continue?