Mediante registros que se insertan en la base de datos, inserto el link y un nombre para la imagen.
Luego las muestro, el problema es que aparecen una debajo de la otra, como puedo hacer para que esten una al lado de la otra?
Código:
<?
<table style="border:1px solid #4A4A4A; background: #EBE5CB; width:100%">
<tr>
<td style="background:#F9F8EA; font-weight:bold; text-align:center; border:1px solid black">Imágenes</td>
</tr>
</table>
<table style="border:1px solid #4A4A4A; background: #EBE5CB; width:100%">
<?
//Mostramos los registros
while ($row=mysql_fetch_array($result))
{
?>
<tr><td><a href="<? echo $row["link"]; ?>" target="_blank"><img alt="<? echo $row["nombre"]; ?>" width='150px' heigth'112px' src="<? echo $row["link"];?>"></a></td></tr>
<?
}
mysql_free_result($result)
?>
</table>