Cita:
Iniciado por .php
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>";
Que tal,
probe este script ,, (jaja que quien sabe porque no lo habia probado

) y me di cuenta que si funcionaa !!!
gracias!!
Peroo... jaja hay un problemita...
Tengo 6 imagenes, perfecto me muestra dos en cada columna..
Pero cuando tengos imagenes impares, por ejemplo 5..
las primeras 4 las muestra y la ultima si no ...
no se por que hace eso ..
saludos y gracias