No such thing as a small change | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
I don't like the look of this bit:
active != "0" isn't it supposed to be "<>" for not equals in SQL? also, use brackets when you've got complicated ANDs and ORs, it'll help you see it better, like: and are you supposed to be quoting number values?
I've now reached the end of my SQL knowledge, but is there a difference between active=0 and active="0"? If it's the contents of a number-type field?
In reply to Re: Perl/MySQL Problem
by Cody Pendant
|
|