> > 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') 
>       {
>       .....
>       }

Or:

        while ($article->fetch()) {
                if ($article->type != 0 or $article->type != 2) continue;
                # do somethin with $article
        }

Regards
  Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to