in reply to Re^2: HTML::Table multi-row head
in thread HTML::Table multi-row head

It does not work, however... Since I lack good imagination I tested that code by doing this:
$table->addRow($sth->{NAME});
$table->addRow($sth->{NAME});
$table->setRowHead(-1);
But my script suddenly failed to load. In the background two instances of perl.exe are running and the browser fails to load the table anymore.

Replies are listed 'Best First'.
Re^4: HTML::Table multi-row head
by simonm (Vicar) on Jan 10, 2005 at 19:12 UTC

    You could try the following:

    $table->addRow( @{$sth->{NAME}} ); $table->setRowHead(1); $table->addRow( @{$sth->{NAME}} ); $table->setRowHead(2);

    However, I'm not sure what the exact problem is here. Please try checking your server error log to see if any useful messages are being generated.