Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/04/2008, 17:31
Avatar de .php
.php
 
Fecha de Ingreso: julio-2006
Mensajes: 481
Antigüedad: 17 años, 9 meses
Puntos: 5
Re: Que muestre 2 fotos por columnas

según lo que entendi.
quieres una tabla con N filas y 2 columnas.
bueno si es asi se ve sencillo
Código PHP:
echo "<table>";
while (
$row mysql_fetch_array($resultado)) {
$id $row["id"];
  if(
$id <> $idAux and $idAux!=""){
    echo 

      <tr>
        <TD width='283' height='158' ALIGN='CENTER' valign='top'><img src='ver.php?id=$id' width='182' height='154'></TD>
        <TD width='283' height='158' ALIGN='CENTER' valign='top'><img src='ver.php?id=$idAux' width='182' height='154'></TD>
      </tr>"
;
    unset(
$idAux);
  }
  
$idAux $id;
}
echo 
"</table>"
suerte
__________________
~~[FiDeLio]~~