Posted by Sean Clark-McCarthy on 07/02/05 04:58
ASP or PHP??
Php could be something like this:
for ($i = 500;$i > 0; $i--){
Print $i."<br>";
}
This willl give you output like:
500
499
498
etc
HTH
--Sean
Justin Harding wrote:
> Hello all... I'm relatively new with PHP, I need help with a quick question.
> I'm trying to create a number counter... Well, I need to create a counter
> that can count from one number... (always higher) say 500 to lower number...
> say 1...
>
> So it will produce something like this;
>
> 500
> 499
> 498
> 497
> .
> .
> .
> 3
> 2
> 1
>
> Can someone give me a very simple and basic code in ASP that will do this?
> Thanks very much...
>
>
Navigation:
[Reply to this message]
|