in reply to Re: HTML::Template and DBI
in thread HTML::Template and DBI

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

Replies are listed 'Best First'.
Re: Re: Re: HTML::Template and DBI
by lestrrat (Deacon) on Oct 13, 2001 at 11:53 UTC

    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...