<tr> <td colspan="4"> <center> <input type="submit" class="button_busca" name="submit_correios" value="Cadastrar" /> <input type="submit" name="cancelar" value="Cancelar" class="button_busca" /> </center> </td> </tr> <tr> <td colspan="4" class="tabela_tit">Histórico de Fichas</td> </tr> <tr> <td colspan="4"> <?php $p_valor = ' <div class="form_estilo_r" style="width:85px; float:left; clear:left; font-weight:bold">Data</div> <div class="form_estilo_r" style="width:85px; float:left; font-weight:bold">Tipo de Ficha</div> <div class="form_estilo_r" style="width:75px; float:left; font-weight:bold">Quantidade</div>'; $lista = $correioDAO->listarFicha($id_empresa); foreach ($lista as $l) { $p_valor .= ' <div class="form_estilo_r" style="width:85px; float:left; clear:left">' . invert($l->data, '/', 'PHP') . '</div> <div class="form_estilo_r" style="width:85px; float:left;">' . $l->fichacorreio . '</div> <div class="form_estilo_r" style="width:75px; float:left">' . $l->quantidade . '</div>'; } echo $p_valor; ?> </td> </tr> </table> </form>