Ver Mensaje Individual
  #3 (permalink)  
Antiguo 07/04/2011, 15:28
fontanares
 
Fecha de Ingreso: septiembre-2008
Ubicación: Manises,Valencia
Mensajes: 114
Antigüedad: 15 años, 7 meses
Puntos: 13
Respuesta: Mostrar resultados horizontalmente

Hola,

lo quieres presentar horizontalmente en html, no?

cambia
<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=1>
<?php

while($row = mysql_fetch_array($result)) {
$id = $row["ID"];
printf("<tr><td><a href='prueba2.php?id=".$id."'><img src='images/image.png.png' border='0'></a></td></tr>"
,$id);
}
mysql_free_result($result);
mysql_close($link);

?>
</table>

por

<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=1><tr>
<?php

while($row = mysql_fetch_array($result)) {
$id = $row["ID"];
printf("<td><a href='prueba2.php?id=".$id."'><img src='images/image.png.png' border='0'></a></td>"
,$id);
}
mysql_free_result($result);
mysql_close($link);

?>
</tr></table>