Hi,
clear that semicolon(;) after the while statement!
this makes the trick
----- Original Message -----
From: "PHP List" <[EMAIL PROTECTED]>
To: "php" <[EMAIL PROTECTED]>
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
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]