|
Posted by no on 06/22/06 17:54
On Tue, 20 Jun 2006 15:49:03 GMT, Andy Jeffries
<news@andyjeffries.co.uk> wrote:
>On Tue, 20 Jun 2006 13:07:13 +0000, no wrote:
>> I have a PHP script that updates a very large table and in the code I echo
>> some text to show the progress of the update but the text only appears
>> when the page has finished displaying.
>>
>> Is there any way (through html headers?) to force the page to update in
>> real time, while the PHP script is still executing?
>
>I'd say go with AJAX. It's really not hard to learn, and as it's a
>non-essential function if people don't have it, they can do without.
>
>You could then provide an estimate of the time to completion (using number
>of rows complete, number to be completed and number completed in last
>second).
Thanks Andy
I have had a look at Ajax ... a bit daunting but I might give it a
try, as the site I am developing would benefit from the look and feel
of a true application.
Chris R.
[Back to original message]
|