in reply to HTML::Template and DBI

My idear would be to post some code so people can be helpful in diagnosing the problem rather than just guessing at one of the 9 million possible problems.

Replies are listed 'Best First'.
Re: Re: HTML::Template and DBI
by Anonymous Monk on Oct 13, 2001 at 11:30 UTC
    You are absolutly right :o) But I am new at Perl and my problem is that I am not sure about the syntax. So my question should be: Could anybody show me a bit of code that reads from a MySQL db at saves it in a hash, so that I can use HTML::Template loop!!! BR Soren

      I don't think people are going to write code for you unless you provide something that they can give you advice on. At the very least you need to be more specific.

      Having said that, you might want to look at DBI's fetchrow_hashref, if you want to store the selected the data in a hash...