in reply to
RE: RE: while loops
in thread
while loops
i think it should go like this
$num = 20 ;
while ($num < 30 ){
$num = $num + 10 ;
}
Comment on
Re: RE: RE: while loops
Replies are listed 'Best First'.
Re: Re: RE: RE: while loops
by
Anonymous Monk
on Jun 06, 2001 at 15:33 UTC
Just a tip You can change the line $num = $num + 10 to $num += 10 It will do the same thing (increment $num by 10)
[reply]
Re: Re: RE: RE: while loops
by
Anonymous Monk
on Mar 08, 2001 at 10:57 UTC
Hey, hate to be lame here, but this was just the example I needed to see! Thanks! --X...
[reply]
In Section
Tutorials