I need to join in a row of the table when the addresses are repeated with only one address of the three that I have, follow the code below:
<table class="tableModif">
<thead>
<tr>
<th>Romaneio</th>
<th>Placa</th>
<th>Cte</th>
<th>Data Saida</th>
<th>Endereço</th>
</tr>
</thead>
<tbody>
<?php foreach ($roteiro->ListaRoteiro($romaneioIni, $romaneioFin, $dataIni, $dataFin, $empIni, $empFin) as $dados) { ?>
<tr>
<td><?php echo $dados->getRomaneio(); ?></td>
<td><?php echo $dados->getPlaca(); ?></td>
<td><?php echo $dados->getCte(); ?></td>
<td><?php echo ($roteiro->FormataData($dados->getDtSaidaRomaneio())); ?></td>
<td><?php echo $dados->getEndereco(); ?></td>
</tr>
<?php } ?>
</tbody>
</table>
How are you?
Howtostay: