Page 1 of 1

[SOLVED] Help - Image instead of text

Posted: Thu Sep 01, 2005 10:27 am
by mhouldridge
Hi,

I have the following code which outputs delete text as a link with with variable.

Code: Select all

<TD><a href='deleteget.php?varl=".$row['asset']."'>Delete</a></TD>
I need the Delete text replacing with an image however I do not know how to do this.

Please help!

Posted: Thu Sep 01, 2005 10:31 am
by nielsene

Code: Select all

<img src="imagename.ext" height="??" width="??" alt="Delete" />

Posted: Thu Sep 01, 2005 10:51 am
by JayBird

Code: Select all

<TD><a href='deleteget.php?varl=".$row['asset']."'><img src=\"imagename.ext\" alt=\"Delete\" /></a></TD>

Posted: Thu Sep 01, 2005 11:36 am
by mhouldridge
thanks guys, thats sorted it!!!