you can do
while($count<=10)
{
echo "Number is $count <BR>\n";
$count++;
}
Sincerely,
Maxim Maletsky
Founder, Chief Developer
PHPBeginner.com (Where PHP Begins)
[EMAIL PROTECTED]
www.phpbeginner.com
-----Original Message-----
From: Felipe Lopes [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, January 24, 2001 2:46 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Using while as for...
I was trying to code the following script using while instead of for,
but I'm havig a lot of problems...Is it possible to do what I want? for
($count = 0; $count <= 10; $count++){ echo "Number is $count <BR>\n"; }
Could anyone tell me how is it with while instead of for?? Thank you!!
Felipe Lopes
MailBR - O e-mail do Brasil -- http://www.mailbr.com.br
Faça já o seu. É gratuito!!!
--
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]
--
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]