Dynadot Aftermarket: discover domain gems worth investing in. Visit our aftermarket.

Help please!

NamecheapNamecheap
Namecheap AuctionsNamecheap Auctions
Namecheap AuctionsNamecheap Auctions
Watch

bestroligast

Established Member
Impact
7
Hello..

can someone please help me with adding an image instead of the text link to this code:

PHP:
} else {
			echo "<a href='".get_addfavorite_link("id=".$media['id'])."'>Add To My Favorites</a>\n";
		}
i cant even get the script maker to do it so please i would be very greatful if u can help me :o
 
0
Close
The views expressed on this page by users and staff are their own, not those of NamePros.
GoDaddyGoDaddy
Change 'Add To My Favorites' to <img src="URL TO PICTURE" />
 
0
Close
bestroligast said:
Hello..

can someone please help me with adding an image instead of the text link to this code:

PHP:
} else {
			echo "<a href='".get_addfavorite_link("id=".$media['id'])."'>Add To My Favorites</a>\n";
		}
i cant even get the script maker to do it so please i would be very greatful if u can help me :o
Dan Friedman said:
Change 'Add To My Favorites' to <img src="URL TO PICTURE" />
Furthering what Dan was saying, heres an example:
} else {
echo "<a href='".get_addfavorite_link("id=".$media['id'])."'><img src=\"images/image.gif\" border=\"0\" /></a>\n";
}

Notice how in the img>src tag I have a slash before the quotes? Make sure you do that :). Otherwise the php software won't understand if that part of the code is part of the php.

All the best,
Rhett.
 
0
Close
DomainEasy: white label portfolios are live. Enable yours.

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Filters for activity feeds
Your news feed, Latest activity, and the activity tab on profiles now have filter buttons: All, Posts, Quick replies, and Other. Your...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back