Re: [Templates] foreach problem with a one row result

[prev] [thread] [next] [Date index for 2004/07/20]

From: Mike Whitaker
Subject: Re: [Templates] foreach problem with a one row result
Date: 07:51 on 20 Jul 2004
On 19 Jul 2004, at 23:31, Good Times wrote:
>
> but i've noticed that if i have only one row come back in my 
> query/resultset, then i seem to get a garbage result set back to the 
> template in the foreach loop
>

Change it to return an arrayref, not an array?


_______________________________________________
templates mailing list
templates@xxxxxxxxxxxxxxxx.xxx
http://lists.template-toolkit.org/mailman/listinfo/templates

Re: [Templates] foreach problem with a one row result
Mike Whitaker 07:51 on 20 Jul 2004

Generated at 08:55 on 15 Mar 2005 by mariachi v0.52