BTPlus
-
Posts
3 -
Joined
-
Last visited
Never
Posts posted by BTPlus
-
-
As long as it counts up instead of down, what it's used for is not important. I want to be able to enter a beginning number in the script, add a multiplier and a time component, and have the script count from the beginning number upward by using the multiplier and the time component. In other words, start at 5000 and count by (add) 2 every 3 seconds.
Thanks,
Kris -
I'm looking for a script that will count up instead of down, like the one you find on the census site that counts population.
Thanks,
Kris
Count up
in PHP Coding Help
Posted
What are you planning on doing with this number?
[code]<?php
for ($i = 5000; $i < 100000; $i += 2) {
echo $i.'<br>';
sleep(3); }
?>[/code]
Ken
[/quote]
I was thinking about putting it on my website as a counter for the number of viruses that have been cleaned off of the computers I have worked on. I have kept records of the number of viruses and spyware I have clean off for my customers. I now have a calculated yearly average. I will setup the counter to automatically count.