in reply to small cgi output problem

I don't know if this will help, I don't use Oracle, but a friend of mine does, and I remember him complaining about DBI rows call not working until you did a fetch, so maybe this is why it always printed NA. Only thing I can think is make a query that gives you all the counts. Not much of a solution for the problem, but it may point you in the right direction.
                - Ant