in reply to Re^5: Template::Simple Help!
in thread Template::Simple Help!
Thanks!!!... my $table = qq|<table width="300" border="1" bgcolor="#1A1A1A" cellpad +ding="0" cellspacing="0">|; for (my $i=0;$i<4;$i++) { $table .= qq| <tr> <td align="center"> <input type="text" name="acc_$i" style="wid +th: 245px;" maxlength="300" /> </td> </tr>|; } $table.="</table>"; $vars->{'account_names'} = $table; ... # add this to the template file: [% account_names %]
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^7: Template::Simple Help!
by NetWallah (Canon) on Dec 25, 2011 at 20:11 UTC | |
by Anonymous Monk on Jan 03, 2012 at 02:24 UTC |