![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
18/01/2008, 13:41
|
| | Fecha de Ingreso: noviembre-2002
Mensajes: 1.341
Antigüedad: 22 años, 3 meses Puntos: 17 | |
Re: php Bueno, esto es HTML estándar:
<a href="direccion_enlace"><img src="ubicacion/nombre_imagen.png" alt="Texto alternativo" height="alto" width="ancho" /></a>
En tu caso, en PHP, podría ser algo así:
echo('<a href="./EDITFORMB.php?id='.$dato["id"].'"><img src="../editar.gif">Editar</a>');
Eso debería funcionar.
También sería recomendable, para tener un código HTML más estandarizado, que en la etiqueta de la imagen se agreguen los atributos "alt" (texto alternativo cuando no se cargue la imagen) y tamaño (ancho y alto). |