0
以下のコード(コード全体ではない)を使用してテーブルのデータを印刷しようとしていますが、エラーが発生しています。 テーブルを削除すると、出力を印刷できます。誰も私にこれを助けることができますか?htmlでCGIを使用した動的テーブルの作成
print "<table border="1">\n";
while(my $ref = $sth->fetchrow_hashref()) {
print "<tr>\n";
print "<td>\n ";
print "$ref->{'name'} owns $ref->{'telno'}\n";
print "</td>\n";
print "</tr>\n";
}
print "</table>\n";
ありがとうございました。 – Naresh