Muriloftto
Membros-
Total de itens
2 -
Registro em
-
Última visita
Sobre Muriloftto
Muriloftto's Achievements
0
Reputação
-
Não resolveu : (
-
Saudações galera, tenho uma dúvida na organização das tabelas no html por exemplo quero deixar as duas centralizadas, como podem ver no anexo não e isso que acontece,são duas query diferentes,segue o código ?> <table border="1" width="10%" align="center" cellspacing="6"> <tr> <td width="10%" align="center">Hora</td> <td width="10%" align="center">Data</td> <td width="10%" align="center">IndexTag</td> <td width="10%" align="center">Valor</td> <? while (odbc_fetch_row($rs)) { ?> <td> <tr> <td width="80"><?php echo odbc_result($rs,"HORA")?></td> <td width="108"><?php echo odbc_result($rs,"DATA")?></td> <td width="27"><?php echo odbc_result($rs,"tagindex")?></td> <td width="50"><?php echo odbc_result($rs,"val")?></td> <?php } ?> </tr> </table> <? ?> <table border="1" width="10%" align="left" and align="center" cellspacing="6"> <tr> <td width="10%" align="left">Hora</td> <td width="10%" align="left">Data</td> <td width="10%" align="left">IndexTag</td> <td width="10%" align="left">Valor</td> <? while (odbc_fetch_row($rr)) { ?> <td> <tr> <td width="80"><?php echo odbc_result($rs,"HORA")?></td> <td width="108"><?php echo odbc_result($rs,"DATA")?></td> <td width="27"><?php echo odbc_result($rs,"tagindex")?></td> <td width="50"><?php echo odbc_result($rs,"val")?></td> <?php } ?> </tr> </table>