Hello out there,
i try to create a table with HTML:Template

for this I fill a array with hashes:
while ( $zeile = $result->fetchrow_arrayref )
{
  $uebergabe{ name => $row->[0], link => $row->[1] };
  push ( @suchprofile, \%uebergabe );
}

and give it to the template-object:

$tmpl->param ( vorname    => $vorname,
               nachname   => $nachname,
               suchprofile => [EMAIL PROTECTED] );

On the tempalte i tried this:

</HEAD>

<BODY BGCOLOR="yellow">
<BR>
<HR>
<H3> Herzlich Willkommen <TMPL_VAR NAME="vorname"> <TMPL_VAR
NAME="nachname"> </H3>
<BR>
<TABLE BORDER="1">
<TR>
<TH>Name</TH>
<TH>Link</TH>
</TR>
<TMPL_LOOP NAME="suchprofile">
<TR>
<TD><TMPL_VAR NAME="name"></TD>
<TD><TMPL_VAR NAME="link"></TD>
</TR>
</TMPL_LOOP>
</TABLE>


</BODY>
...
But I got nothing but an empty table. What is wrong?

Thank you.

Gruss Christian

-- 
Telefonieren Sie schon oder sparen Sie noch?
NEU: GMX Phone_Flat http://www.gmx.net/de/go/telefonie

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>


Reply via email to