RE: [PHP] Increment
| From: | Jason | Date: | Thu, 29 Jun 2000 21:49:02 +0000 |
| Subject: | RE: [PHP] Increment | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-3902@lists.php.net to get a copy of this message | ||
for($1=1; $i < somevalue; $i++)
{
}
jason
> -----Original Message-----
> From: Peter Benoit [mailto:pbenoit@triton-network.com]
> Sent: Thursday, June 29, 2000 3:34 PM
> To: PHP-General
> Subject: [PHP] Increment
>
>
> $i = 1;
>
> for(whatever){
> $i++;
> }
>
> echo $i
>
> I want $i to increment, how is this done correctly in PHP?
>
> TIA,
> Peter
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>
_______________________________________________________
Site Design, Hosting, and E-Commerce at www.webpipe.net