You're both right. It's mainly a scripting forum, but that doesn't bar anyone from asking questions about scripts that drive webpages. But it would have helped had you mentioned Perl in your first post.
And you'll have to be a lot more specific about what you have and what you need. Because, by your first post, I'd say you have no idea yourself. What OS? What language? What DB? How do you want to access the database?