2
I am creating the following table:
<div class="div1" id="employee_table">
<table class="table table-bordered">
<tr>
<th width="10%">De</th>
<th width="10%">Assunto</th>
<th width="10%">Prioridade</th>
<th width="10%">Recebido</th>
</tr>
<tr>
<th width="10%" colspan=4>Recebido:</th>
</tr>
<?php
while($row = mysqli_fetch_array($result))
{
?>
<tr>
<td><?php echo $row["De"]; ?></td>
<td><?php echo $row["Conteudo"]; ?></td>
<td><?php echo $row["Prioridade"]; ?></td>
<td><?php echo $row["Hora"]; ?></td>
<td><?php echo $row["Data"]; ?></td>
</tr>
<tr>
<?php
}
?>
</table>
</div>
But the date is not in front of the column Recebido:
with colspan =4
, as shown in the image:
I meant for you to show up like this:
After analyzing very interesting how to return the data this way. I will choose this suggestion
– Bruno