Eric Rechter wrote:
Hello I want to use the DO WHILE statement with an OR ( || )
like this:
do{
.....
}while ($found != 1 || $count == 10);
But this is nog working in PHP 4.4 . Anybody know how to do this?
What is the rest of the loop, and what are the values of $count and
$found before it starts?
Your while is saying to do the loop again only if $found is not 1 and
$count *is* 10... possibly should be:
while ($found != 1 || $count < 10);
?? without knowing what you want to do, it's impossible to say...
--
Justin Koivisto, ZCE -
ju****@koivi.com http://koivi.com