Post your html.pl file as an attachment so we can see what it is you're trying to do. If it works in links then it should work in dbman. I bet the answer will lie with the missing html tags. I imagine that somewhere you are missing a print tag or something.