Ver Mensaje Individual
  #1 (permalink)  
Antiguo 17/04/2009, 10:38
esaenz22
(Desactivado)
 
Fecha de Ingreso: abril-2008
Mensajes: 787
Antigüedad: 16 años
Puntos: 7
mostrar filas horizontalmente

hola. yo estoy haciendo una consulta de productos y muestro las imagenes de productos. pero cuando muestro los resultados, me muestran verticalmete. bueno e muestran asi por defecto.

este es mi codigo. no es cosa del otro mundo pero como puedo mostrar mis resultados horiontalmente.

Código PHP:

    <?php
            $sql_producto 
"SELECT * FROM miusb_productos";
            
$rpta_producto mysql_query($sql_producto) or die(mysql_error());
            
            while(
$fila_producto mysql_fetch_array($rpta_producto)){
            
    
?>
        <table width="170" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td width="153">
                <table width="153" border="0" cellspacing="0" cellpadding="0" id = "border_redon_producto">
                  <tr>
                    <td height="6"></td>
                  </tr>
                  <tr>
                    <td id = "titulo_codigo">Cod.: <?=$fila_producto['codigo_producto']; ?></td>
                  </tr>
                  <tr>
                    <td>
                        <div align="center">
                            <img src="productos/<?=$fila_producto['imagen_producto']; ?>" width="147" height="117" />
                        </div>
                    </td>
                  </tr>
                  <tr>
                    <td height="16" bgcolor="#E0E0DF"><img src="images/ver_detalle.jpg" width="151" height="14" /></td>
                  </tr>
                  <tr>
                    <td height="7"></td>
                  </tr>
                </table>
            </td>
            <td width="54">&nbsp;</td>
          </tr>
        </table>
    <?php
            
}
    
?>