frank wrote:
> better make a switch statement: with case such as
> switch($x):
that should be :
switch (true) {
// bla
}
otherwise you would be testing the boolean cast of the
value of $x against the result of the expression given in
the case statement ... in practice it would probably
d
better make a switch statement: with case such as
switch($x):
case ($x >= 16 && $x <= 30):
break;
case
set*
""Chilling Lounge Admin"" <[EMAIL PROTECTED]> schrieb im Newsbeitrag
news:[EMAIL PROTECTED]
> Hi.
>
> I need help with matching a variable. The variable would be e.g. 0-15
> , 16
2 matches
Mail list logo