# Show progress using flush - on form submit

**URL:** <https://forum.kirupa.com/t/show-progress-using-flush-on-form-submit/313726>\
**Category:** programming\
**Created:** [September 8, 2010, 9:47am UTC](https://forum.kirupa.com/t/show-progress-using-flush-on-form-submit/313726 "2010-09-08T09:47:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerome\_chevreau](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@jerome\_chevreau](https://forum.kirupa.com/u/jerome_chevreau)\
**Post date:** [September 8, 2010, 9:47am UTC](https://forum.kirupa.com/t/show-progress-using-flush-on-form-submit/313726/1 "2010-09-08T09:47:57Z")

</div>

Hi there,

I have a form which when i submit i want to run a function and show the progress as it goes.

I first tested it in a php file calling a function and the progress was perfect(using flush and sleep to delay).  
But as soon as i submit a form then the flushing of the data show all at once and not as a progress.

Does anybody know what can be done.

thanks for any help.

Regards,

Jerome
