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


in reply to Variables as a variable name... (I know you shouldn't but...)

Greetings,
Assuming you are using DBI have a look at this method to get what you want. As far as I can tell from your post that should do it.

-InjunJoel
"I do not feel obliged to believe that the same God who endowed us with sense, reason and intellect has intended us to forego their use." -Galileo