Re: Using while as for...
| From: | Andrew Hill | Date: | Sat, 24 Feb 2001 05:22:44 +0000 |
| Subject: | Re: Using while as for... | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-41438@lists.php.net to get a copy of this message | ||
Whups, forgot a blasted semicolon...
$count = 1;
while($count < 10)
{
echo "Number is $count <BR>\n";
$count++;
}
Cheers,
Andrew
On 2/24/01 12:20 AM, "Andrew Hill" <ahill@openlinksw.com> wrote:
> $count = 1;
>
> while($count < 10)
> {
> echo "Number is $count <BR>\n";
> $count++
> }