Ver Mensaje Individual
  #4 (permalink)  
Antiguo 13/06/2011, 15:02
Avatar de lobo_php
lobo_php
 
Fecha de Ingreso: noviembre-2007
Ubicación: Cali-Colombia
Mensajes: 1.869
Antigüedad: 17 años, 4 meses
Puntos: 75
Respuesta: Problema crear tabla dentro de WHILE

Y donde se cierra la tabla????

si yo entiendo bien debe ser algo como esto
Código PHP:
<?php
while ($reg mssql_fetch_array($conex->result)){
?>
<table>
    <tr>
         <td colspan="2"><?php echo $reg['cod_suc']; ?></td>
    </tr>
    <tr>
         <td>TOTALES</td>
         <td><?php echo $reg['TOTALES']; ?></td>
    </tr>
</table>
<?php

?>
__________________
Cabuntu.org - Difundiendo Software Libre en Cali, Colombia
Usuario Linux # 483175