Ver Mensaje Individual
  #9 (permalink)  
Antiguo 28/04/2008, 19:00
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

jajajajaj, lo hice
el problema, es q le falto un else
este codigo te sirvira
Código PHP:
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);
  }else{
      
$idAux $id;
  }
}
echo 
"</table>"
__________________
~~[FiDeLio]~~