<?php } ?> </table></td></tr> </table> <br/> <table width="100%"> <tr> <td align="center" align="center" colspan="10"><strong style="font-size:13px">LEITURAS</strong></td> </tr> <tr><td><table width="100%" border="1" cellpadding="0" cellspacing="0" bordercolor="#cccccc"> <?php //Leituras $result = $consulta->RecordSetAguaLeitura(12); if ($result) { $linhas = pg_numrows($result); } else { $linhas = 0; } if ($linhas > 0) { $rotulo->label("x21_exerc"); $rotulo->label("x21_mes"); $rotulo->label("x17_descr"); $rotulo->label("x21_dtleitura"); $rotulo->label("x21_dtinc"); $rotulo->label("x21_leitura"); $rotulo->label("x21_consumo"); $rotulo->label("x21_excesso"); /*$rotulo->label("x21_numcgm");