我正在开发一个论坛,我有一个文本区域,用户可以在其中输入他们的评论,并且我在表格行中显示它。但我确实发现数据没有完全显示,我的意思是在创建帖子时如果我输入 500 个字符,表格行仅显示受限于行宽的有限字符。有什么方法可以完全按行显示数据?
Here is the code that displays the message;refer to line - echo "<td>" .
//$row['usermessage'] . "</td>";
echo "<table class='zebra'>
<thead>
<tr>`enter code here`
<th> Original Message by " . $row['username'] . " posted at " .
$row['cqatime'] . " IST</th>
</tr>
</thead>";
echo "<tbody>";
echo "<tr>";
echo "<td>" . $row['usermessage'] . "</td>";
echo "</tr>";
echo "</tbody>";
echo "</table>";