Go Back   WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk
Register Blogs FAQ Social Groups CalendarHelp Desk

Reply
 
LinkBack Thread Tools
Old 11-22-2009, 07:46 PM   #1
Edmund Lee
War Room Member
 
edmltw's Avatar
 
Join Date: Jul 2009
Location: Singapore
Posts: 624
Blog Entries: 2
Thanks: 124
Thanked 91 Times in 57 Posts
Social Networking View Member's Myspace Profile  View Member's YouTube Profile
Contact Info
Send a message via Skype™ to edmltw
Default PHP issue: How do I insert a HTML link into the script?

Hello there professionals!

Let's say I want to insert a <a href="www.xxxx.com">Click Here</a> into a
"define" column, or anywhere within the middle part of the php template, how I add it in so that it will appear as a normal link?

Regards,
Ed

P.S.: I tried to insert the code directly in the "define" column, all I got was plain text without the hyper-link.

P.S.S.: Any help will be GREATLY appreciated!

edmltw is offline   Reply With Quote
Old 11-22-2009, 08:28 PM   #2
I cant think of anything.
 
Join Date: Nov 2009
Location: Earth > UK > Wales > Sir Benfro > Cippyn > Field > Farmyard > House > Top Landing > Chair
Posts: 57
Thanks: 4
Thanked 4 Times in 4 Posts
Default Re: PHP issue: How do I insert a HTML link into the script?

Its a stab in the dark as I have no idea what software you are using or what you are trying to do - but remove the " quotes from your <a href="www.xxxx.com">Click Here</a>

A link will render in most browsers without them and its probably whats breaking your php.

Ta

Baz
bazzais is offline   Reply With Quote
Old 11-23-2009, 10:33 AM   #3
Senior Warrior Member
War Room Member
 
KirkMcD's Avatar
 
Join Date: Apr 2006
Location: , , USA.
Posts: 2,433
Thanks: 40
Thanked 155 Times in 148 Posts
Default Re: PHP issue: How do I insert a HTML link into the script?

Never heard of a "define" column, but this is the php code:

echo '<a href="www.xxxx.com">Click Here</a>';
KirkMcD is offline   Reply With Quote
Old 11-30-2009, 09:27 AM   #4
Landing Page Video Expert
 
Jeff Poulton's Avatar
 
Join Date: Nov 2009
Location: Near Las Vegas
Posts: 32
Thanks: 5
Thanked 5 Times in 5 Posts
Default Re: PHP issue: How do I insert a HTML link into the script?

Another approach is to use Javascript to insert the link conditionally upon page load. It doesn't get any easier when you're using jQuery.

"The sky's the limit, but don't underestimate the opposing power of gravity on your rocket ship."

Rocketmade.com - Professional Website Videos (for landing pages, squeeze pages, etc.)
Jeff Poulton is offline   Reply With Quote
Reply

  WarriorForum - Internet Marketing Forums > Warrior Support Forums > Programming Talk

Tags
html, insert, issue, link, php, script

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -6. The time now is 11:38 PM.