saibsk
asked on
Html table in Perl
I retrieve a resultset using Perl DBI. And print it in a HTML table. But whenever there are no value for particular column then there is no cell border. I want entire table whether the column has value or not.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
and if the value is not defined, print " "
if (defined($columnvalue)) {
print "<td>$columnvalue</td>";
}else{
print "<td> </td>";
}