[Templates] hash key
Tim Keefer
tkeefer@usegantry.org
Tue, 14 Feb 2006 12:54:31 -0600
------=_Part_9090_62754.1139943271543
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I'm having trouble accessing the hash value when I'm combining items to
create the hash key. I'm hoping there's a better way to do this.
[% FOREACH num IN [ 1, 2, 3, 4, 5 ] %]
[% box_key =3D ( 'box_' _ num ) %]
[% name =3D hash.$box_key.name %]
[% phone =3D hash.$box_key.phone %]
[% END %]
------=_Part_9090_62754.1139943271543
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline
I'm having trouble accessing the hash value when I'm combining items to cre=
ate the hash key. I'm hoping there's a better way to do this. <br><br>[% FO=
REACH num IN [ 1, 2, 3, 4, 5 ] %]<br> [% box_key =3D ( 'box_' _=
num ) %]
<br> [% name =3D hash.$box_key.name %]<br> [%=
phone =3D hash.$box_key.phone %]<br>[% END %]<br><br>
------=_Part_9090_62754.1139943271543--