Ver Mensaje Individual
  #5 (permalink)  
Antiguo 13/07/2010, 08:53
felipe_ceg
 
Fecha de Ingreso: noviembre-2008
Mensajes: 112
Antigüedad: 15 años, 5 meses
Puntos: 1
Sonrisa Respuesta: como hacer una linea despues de informacion

Estimado,
t envio el codigo desde el while que recoore las base para desplegar los datos

Código PHP:
Ver original
  1. while ($con = mysql_fetch_array($sql))
  2.     {
  3.     $fecha = $con[fecha];
  4.     $idcom = $con[idcom];
  5.     $tipoval = $con[tipoval];
  6.     $numcuenta = $con[numcuenta];  
  7.    
  8.     if( $idcom !=$last_fecha2){
  9.               $last_fecha2 = $idcom;
  10.               $idcom_print = $idcom;
  11.               $descripcion_print = $descripcion;
  12.            
  13.           } else {
  14.               $idcom_print = " ";
  15.               $descripcion_print = "";
  16.              
  17.           }
  18.  
  19.  <table width="100%" border="0" bordercolor="#99CCFF" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
  20.  
  21. <TR>
  22. <TD width="7%"align="left"><font size="2" ><? echo $idcom_print ?></font></TD>
  23. <TD width="11%" align="left"><font size="2" ><? echo substr($descripcion_print,0,10) ?>&nbsp;</font></TD>
  24. <? if($descripcion_print != ""){   ?>
  25. </tr><tr>
  26.     <td colspan="2"></td>
  27. <? }  ?>
  28. <TD width="8%"align="left"><font size="2" ><? echo $fecha ?></font></TD>
  29. <TD width="8%"align="left"><font size="2" ><? echo $numcuenta ?>&nbsp;</font></TD>
  30.  
  31.  
  32. </TR>
  33.  
  34. </TABLE>
  35.  
  36.   <? }  ?>

salu2