Maybe I'm just reading the documentation incorrectly, but when I set up a:

do {  // loop until the test condition is satisfied then break
[code]
if ($i > 1)
break;
[code]
} while(0);

it just goes through once.  I got around it by creating a true statement to
test at the end "while ($i = $i);" and everything worked fine.  What am I
doing wrong?

Thanks,
David Minor


-- 
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]

Reply via email to