Ver Mensaje Individual
  #10 (permalink)  
Antiguo 30/03/2011, 12:36
Avatar de luis010182
luis010182
 
Fecha de Ingreso: julio-2009
Ubicación: Argentina - Capital Federal
Mensajes: 382
Antigüedad: 14 años, 10 meses
Puntos: 27
Respuesta: No me sale esto que debe ser tan facil

<table border="1">
Código PHP:
while ($rowEmp mysql_fetch_array($resEmp)) {
    
$contador++
    
    if( 
is_int( ($contador/4) ) ) echo "<tr>";
     echo 
"<td><img src= " .$rowEmp['ruta']." width=100 height=100></td>";
    echo 
"<td>Descripcion Producto  ".  $rowEmp['DESCRIP'] ; echo "</td>";
    echo 
" <td> Precio $  " $rowEmp ['PRECIO'] ."</td>";
    if( 
is_int( ($contador/4) ) )echo "</tr>";


</table>

Este codigo hace que cambie de colomna cada cuatro registros.
Espero que es lo que necesitas.