in reply to Using OR in SELECT statments safely

Wow, that was fast!

Thanks everyone!! I went with a solution similar to what blokhead and FoxtrotUniform suggested.

fokat -- Thanks for reminding me about the IN(...) idiom and the positional placeholders. I'll take a look at DBD::Mysql docs and see what is supported.

Regard,
sz
  • Comment on Re: Using OR in SELECT statments safely