Help please!

SpaceshipSpaceship
Spacemail by SpaceshipSpacemail by Spaceship
SpaceshipSpaceship
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
CatchedCatched

We're social

Escrow.com
Spaceship
Domain Recover
CryptoExchange.com

NamePros updates

Switch between accounts
You can now stay logged in to more than one NamePros account in the same browser. Click your avatar, then "Accounts in this browser", to...
AIVikings
Catchy
  • The sidebar remains visible by scrolling at a speed relative to the page’s height.
Back