i want to display database to tables, but if the text that i want to display is too long, then the text will not directly go down. the text on 'question' not directly enter down. please help
this is my code:
<table class="table">
<thead>
<tr>
<th>No</th>
<th>Question</th>
<th>A</th>
<th>B</th>
<th>C</th>
<th>D</th>
<th>Answer</th>
<th>Button</th>
</tr>
</thead>
<tbody>
<?php
include "conection.php";
$no = 1;
$query = mysql_query("SELECT * FROM grammar");
if ($query) {
while ($row = mysql_fetch_array($query)) {
echo "
<tr>
<td>".$no."</td>
<td>".$row['question']."</td>
<td>".$row['a']."</td>
<td>".$row['b']."</td>
<td>".$row['c']."</td>
<td>".$row['d']."</td>
<td>".$row['answer']."</td>
<td>
<a href=\"update.php?id=\">Edit</a> |
<a href=\"delete_grammar.php?id=\">delete</a>
</td>
</tr>";
$no++;
}
}
?>
</tbody>
</table>