Jump to content

Displaying output as you go


shelluk

Recommended Posts

By what method (is there one built in?) can I display PHP echo's as it goes along.

 

I.E. I have a script running 3 test with 3 results. Test 3 can take say 30 secs to run though. I would like test 1 and 2 results displayed soon as they have finished, without waiting for test 3 results! Test 3 to be echo'd out when that's finished.

 

Hope that makes sense...!

 

Thanks,

Shell

Link to comment
https://forums.phpfreaks.com/topic/111522-displaying-output-as-you-go/
Share on other sites

well it isn't that complicated if you use a clientside language but you're wanting to throw a serverside language into the mix so what do you expect?  In a basic ajax tutorial 99% of it is javascript and it's just a couple of functions to set it up and you don't really have to mess with it just c/p it into your file. 

 

 

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.