0

私はフォーラムを開発しています。ユーザーがコメントを入力するテキスト領域があり、それを表の行に表示しています。しかし、データが完全に表示されていないことがわかりました.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>";
4

4 に答える 4

0

テーブルで class='zebra' を使用しています。そのクラスは、テーブル データ表示の動作を制御しています。

Change the CSS in that class and remove overflow: hidden; 
于 2013-09-21T05:56:34.467 に答える
0
<?php
echo "<table class='zebra'>
<tr>`enter code here`
<th> Original Message by ".$row['username']." posted at ".$row['cqatime']." IST</th>
</tr>
<tr>
<td>".$row['usermessage']."</td>
</tr>
</table>"; ?>
于 2013-09-21T05:19:06.290 に答える