Re: Using while as for...
| From: | Andrew Hill | Date: | Sat, 24 Feb 2001 05:20:07 +0000 |
| Subject: | Re: Using while as for... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41436@lists.php.net to get a copy of this message | ||
$count = 1;
while($count < 10)
{
echo "Number is $count <BR>\n";
$count++
}
> 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!!
Best regards,
Andrew
---------------------------------------
Andrew Hill - OpenLink Software
Director Technology Evangelism
eBusiness Infrastructure Technology
http://www.openlinksw.com