You are here: Re: Need help with a php script « PHP « IT news, forums, messages
Re: Need help with a php script

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]


Удаленная работа для программистов  •  Как заработать на 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

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