Jump to content

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. 

 

 

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.