I wasn't getting any error. I am just trying to do a simple thing as take addresses
from mysql database and use H-T to print on the web. And any code from here or perl
monk would work.
- Original Message -
From: "Brian McCain" <[EMAIL PROTECTED]>
To: "Doc" <[EMAIL PROTECTED]>; "html
The Bricolage team would like to announce the release of Bricolage
1.4.2. This is a maintenance release that fixes several critical bugs
in version 1.4.1. All users of earlier versions of Bricolage are
strongly encouraged to upgrade.
Bricolage is a full-featured, enterprise-class content manageme
> Has anyone thought about doing HTML::Template::DBI?
Actually, yes, to simplify some common database access. I have something
like DBI::Easy in mind, but with several optimizations for
HTML::Template. But would there be any interest in such a module?
Stefan
---
Has anybody gotten an answer from this? I'm also curious what the error
messages were.
There are a million different ways to connect data from DBI with
HTML::Template, and we could suggest different ways of doing it all day for
a monthor we could try to help Doc solve his specific problem. Sp
Then how do I avoid such an occurance?
> On Fri, 27 Sep 2002, Kenny Pyatt wrote:
>
> > # Build the tmpl_loop data structure and load the template
> > while (my $data = $sth->fetchrow_hashref())
> > {
> > push (@loopData, $data);
> > }
> > # Give the data to
On Fri, 27 Sep 2002, Kenny Pyatt wrote:
> # Build the tmpl_loop data structure and load the template
> while (my $data = $sth->fetchrow_hashref())
> {
> push (@loopData, $data);
> }
> # Give the data to the template
> $template->param('MyLoop' => \@loopData)
Hey,
I am coming in at the middle of this conversation but I think I have a
better way. I think those crazy perl one liners cause to much
confusion when some else tries to update/change your code. I use
fetchrow_hashref() to do the same thing in a snippet below but I have
room to add
Doc wrote:
>None of the code at PerlMonks worked for me. At least, ones I the simplier ones.
>
>
what error messages did you get?
>
>
>
>
>
>- Original Message -
>From: "Jim Lang" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Thursday, September 26, 2002 6:04 PM
>Subject: Re: [h
None of the code at PerlMonks worked for me. At least, ones I the simplier ones.
Has anyone thought about doing HTML::Template::DBI?
- Original Message -
From: "Jim Lang" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 26, 2002 6:04 PM
Subject: Re: [htmltmpl]