is it possible to "print" a result in real time and not only when all code is processed?
do{ echo "1"; sleep(1); } while(1==1);
There is no reliable way that I know of. You could try adding a [man]flush/man to the loop, but this is often overridden by the web servers own output buffering/flushing mechanism.
javascript can do it if that's any help.
flush is no good for me i'm going to try javascript and AJAX for it i'll post it later here
thanks guys