You are here: HTML backspace « HTML « IT news, forums, messages
HTML backspace

Posted by Cal Lidderdale on 01/31/08 11:53

I've got a webpage generated by a PHP script. General flow is:

Start page print some stuff and flush();

setup a loop (about 40x)
start an external process output results to file(s)
flush
repeat

setup second loop counting ext procs
sleep 1
echo "There are ## left to do."
repeat until count = 0

process ext files
display results on screen
---------------
Ok, where I'm waiting for the count to go to 0 I would like to display a
counter, ie:
"There are 26 left"
"There are 22 left"
"There are 17 left"
Warm fuzzies for the user that he "will" get an answer ... some day :-D
Only I'd like to just make the number change with out a newline - ^H
doesn't work. printf ("^H^H^H^H%4d", cnt)
Ideas???????????????/

Thanks

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация