Biely Posted December 16, 2012 Share Posted December 16, 2012 Hello everybody! I am new to php coding and I want to ask simple question. Can you execute php script so you can display echoes as they are proceeded? So you have.. echo("Some line of text"); .... another code echo("Second line of text"); And user will see "Some line of text" immidiately, then another code is executed and user will see "second line of text" after the "another code" is executed and so on... Sorry for my broken English Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/272057-execute-echo-step-by-step/ Share on other sites More sharing options...
Christian F. Posted December 16, 2012 Share Posted December 16, 2012 What you're looking for is flush (), you can read more about it the PHP manual. Quote Link to comment https://forums.phpfreaks.com/topic/272057-execute-echo-step-by-step/#findComment-1399671 Share on other sites More sharing options...
Biely Posted December 16, 2012 Author Share Posted December 16, 2012 ahh i knew there would be something for that.. .thank you I wish you 2x more presents on Cristmas ^^ Quote Link to comment https://forums.phpfreaks.com/topic/272057-execute-echo-step-by-step/#findComment-1399672 Share on other sites More sharing options...
Christian F. Posted December 16, 2012 Share Posted December 16, 2012 You're welcome. Glad I could help. Quote Link to comment https://forums.phpfreaks.com/topic/272057-execute-echo-step-by-step/#findComment-1399689 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.