http://qs321.pair.com?node_id=147077


in reply to Perl/MySQL Problem

Putting the word 'Perl' in the title does not make this into a Perl question. :-)

However, your problem is almost certainly caused by precedence. Look at the rules for operator precedence in the MySQL documentation. You will probably need to use parentheses to force the conditions to be evaluated in the order you intend.

Impossible Robot

Replies are listed 'Best First'.
Re: Re: Perl/MySQL Problem
by vagnerr (Prior) on Feb 23, 2002 at 16:50 UTC
    Yes "precedence" was the word I was trying to remember, I just had to revert to a code example :-) (++) to you

    ---If it doesn't fit use a bigger hammer