in reply to array from query to db
Besides the DBI documentation, have a look at
DBI Recipes. What you need, and much more, is already there.
My fellow monks
Can't tell (I'm NSA/FBI/HS/...)
Others (explain your deviation)
Results (112 votes). Check out past polls.