[advanced search]
Results from the most recent live auction are here.
21 members in the live chat room. Join Chat!
Register Rules & FAQ NP$ Store Active Threads Mark Forums Read
Go Back   NamePros.Com > Design and Development > Programming
User Name
Password

Old 04-13-2006, 07:30 PM   · #1
bestroligast
NamePros Regular
 
Trader Rating: (29)
Join Date: Jan 2005
Posts: 243
NP$: 60.00 (Donate)
bestroligast is just really nicebestroligast is just really nicebestroligast is just really nicebestroligast is just really nice
help please!

Hello..

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

PHP Code:
} 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


Please register or log-in into NamePros to hide ads
bestroligast is offline   Reply With Quote
Old 04-13-2006, 07:35 PM   · #2
Dan
Buy my domains.
 
Dan's Avatar
 
Name: Dan
Trader Rating: (63)
Join Date: Feb 2006
Posts: 2,801
NP$: 54.00 (Donate)
Dan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant futureDan has a brilliant future
Autism Autism Autism Autism Autism Autism Autism
Change 'Add To My Favorites' to <img src="URL TO PICTURE" />
Dan is offline   Reply With Quote
Old 04-14-2006, 05:07 PM   · #3
BillyConnite
 
BillyConnite's Avatar
 
Name: Rhett
Location: Coffs H, Australia
Trader Rating: (77)
Join Date: Jul 2005
Posts: 3,106
NP$: 47.00 (Donate)
BillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant futureBillyConnite has a brilliant future
Wildlife Parkinson's Disease Parkinson's Disease
Originally Posted by bestroligast
Hello..

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

PHP Code:
} 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


Originally Posted by Dan Friedman
Change 'Add To My Favorites' to <img src="URL TO PICTURE" />


Furthering what Dan was saying, heres an example:
Quote:
} 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.
__________________
<?php if(1===1){ $computer="fine."; }else{ $computer="broken."; } echo "Your computer is ".$computer; ?>
BillyConnite is offline   Reply With Quote
Closed Thread

NamePros is a revenue sharing forum.

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Site Sponsors
EscrowDNS Pimps/RPG Game Script Website Header Design
Advertise your business at NamePros
All times are GMT -7. The time now is 10:35 AM.


Powered by: vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0