Posted by Martin Jay on 06/06/06 23:46
In message <1149628656.373049.209990@u72g2000cwu.googlegroups.com>, Dan
<danjel.grosar@gmail.com> writes
>I have some For Loops in PHP and echo call to write out the loop
>progress.
>
>How do I refresh the page from the loop to see the progress?
You can put this in the <head></head> section of the HTML to refresh a
page:
<meta http-equiv="refresh" content="10">
Where 'content' is the number of seconds before the next refresh.
But, of course, every time the page is refreshed it would start your PHP
scrip again. You seem to imply that the script would already be
running. If that's the case perhaps you could periodically write the
results to a script and use the web browser to display its contents?
--
Martin Jay
Phone/SMS: +44 7740 191877
Fax: +44 870 915 2124
Navigation:
[Reply to this message]
|