> > For example want to list articles with type 0 or 2.
> > Using logical operators to define my $type I always
> > get one parameter.
>
> If you did something like:
> $type = 1 | 2; // => 3
> $type = 1 & 2; // => 0
>
> so you are right, you always get one paremeter.
And the only thing is:
if ($article->type == '0' || $article->type == '2')
{
.....
}
??????
Piotras
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]