GetDotted Domains

Viewing Thread:
"WHILE loop in PHP?"

The "Freeola Customer Forum" forum, which includes Retro Game Reviews, has been archived and is now read-only. You cannot post here or create a new thread or review on this forum.

Fri 30/04/04 at 23:49
Regular
"Pouch Ape"
Posts: 14,499
Hi, monkey_man here. Just wondering if PHP supports WHILE statements? If so, I assume it's along the same lines as C, i.e.:

$maxamount = 20;
$amount = 0;
WHILE($amount < $maxamount)
{ dosomething; $amount++; }

Or something like that, I'll work it out if it is supported. Also, does it require an ELSE method, or does it return automatically?

Cheers, monkey_man
Fri 30/04/04 at 23:56
Regular
"Pouch Ape"
Posts: 14,499
Don't worry, php.net knows all!
Fri 30/04/04 at 23:49
Regular
"Pouch Ape"
Posts: 14,499
Hi, monkey_man here. Just wondering if PHP supports WHILE statements? If so, I assume it's along the same lines as C, i.e.:

$maxamount = 20;
$amount = 0;
WHILE($amount < $maxamount)
{ dosomething; $amount++; }

Or something like that, I'll work it out if it is supported. Also, does it require an ELSE method, or does it return automatically?

Cheers, monkey_man

Freeola & GetDotted are rated 5 Stars

Check out some of our customer reviews below:

Thank you very much for your help!
Top service for free - excellent - thank you very much for your help.
Very pleased
Very pleased with the help given by your staff. They explained technical details in an easy way and were patient when providing information to a non expert like me.

View More Reviews

Need some help? Give us a call on 01376 55 60 60

Go to Support Centre

It appears you are using an old browser, as such, some parts of the Freeola and Getdotted site will not work as intended. Using the latest version of your browser, or another browser such as Google Chrome, Mozilla Firefox, or Opera will provide a better, safer browsing experience for you.