RE: [PHP] Loop error?
| From: | Andrew Braund | Date: | Tue, 14 Aug 2001 23:56:58 +0000 |
| Subject: | RE: [PHP] Loop error? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62716@lists.php.net to get a copy of this message | ||
> -----Original Message-----
> From: PHP List [mailto:php_list@ibcnetwork.net]
> Sent: Wednesday, 15 August 2001 09:20
> To: php
> Subject: [PHP] Loop error?
>
>
> Hi,
> Can anyone tell me why this is a never ending loop?
>
> $i=0;
> $count = 1;
> while ($count > $i);
^
> {
> echo "$i <br>";
> $i++;
> }
> Chris