PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
mhouldridge
Forum Contributor
Posts: 267 Joined: Wed Jan 26, 2005 5:13 am
Post
by mhouldridge » Thu Sep 01, 2005 10:27 am
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!
nielsene
DevNet Resident
Posts: 1834 Joined: Fri Aug 16, 2002 8:57 am
Location: Watertown, MA
Post
by nielsene » Thu Sep 01, 2005 10:31 am
Code: Select all
<img src="imagename.ext" height="??" width="??" alt="Delete" />
JayBird
Admin
Posts: 4524 Joined: Wed Aug 13, 2003 7:02 am
Location: York, UK
Contact:
Post
by JayBird » Thu Sep 01, 2005 10:51 am
Code: Select all
<TD><a href='deleteget.php?varl=".$row['asset']."'><img src=\"imagename.ext\" alt=\"Delete\" /></a></TD>
mhouldridge
Forum Contributor
Posts: 267 Joined: Wed Jan 26, 2005 5:13 am
Post
by mhouldridge » Thu Sep 01, 2005 11:36 am
thanks guys, thats sorted it!!!