my $nor = iwpt_dcr_value("dcr.root.NOR"); iwpt_output("$nor"); my $noc = iwpt_dcr_value("dcr.root.NOC"); iwpt_output("$noc");
if( defined($nor) && ($nor ne "") ) { print("<table border='2' cellpadding='40'>"); ## Why are you using print here ? You should use iwpt_output for($count;$count<$nor;$count++) ## Are you sure $nor is numeric, is defined and not null here ? { print("<tr>");if( defined($noc) && ($noc ne "") ) { for(my $colcount;$colcount<$noc;$colcount++){ ## Are you sure $noc is numeric, is defined and not null here ? print("<td> </td>"); }} print("</tr>"); } print("</table>");}
Edited by iwovGraduate on 03/15/05 12:46 PM (server time).
for(my $colcount;$colcount<$noc;$colcount++){
Edited by iwovGraduate on 03/15/05 12:58 PM (server time).
<iw_perl><![CDATA[<td>{iw_value name="v2.Column" /}</td> ## <-- This should be outside <iw_perl>]]></iw_perl>
<iw_iterate list="v1.Column Entry" var="v2" iteration="ColumnCounter">