Re: Loop error?
| From: | Gyozo Papp | Date: | Tue, 14 Aug 2001 23:58:30 +0000 |
| Subject: | Re: Loop error? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-62715@lists.php.net to get a copy of this message | ||
Hi,
clear that semicolon(;) after the while statement!
this makes the trick
----- Original Message -----
From: "PHP List" <php_list@ibcnetwork.net>
To: "php" <php-general@lists.php.net>
Sent: 2001. augusztus 15. 01:49
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