From:                   [EMAIL PROTECTED]

> If I want to do something like
> 
>       if ($a=$b) and ($d=$e)
> Is it possible?
> 
> because & is for bitwise AND operation.

        if ($a==$b and $d==$e)
or
        if (($a==$b) && ($d==$e))

Please note that I'm using ==. 

        == is numerical comparison!
        eq is string comparison!
        = is assignment!

Jenda
===== [EMAIL PROTECTED] === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed 
to get drunk and croon as much as they like.
        -- Terry Pratchett in Sourcery


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

Reply via email to