![]() | | ||||||||
| | #1 |
| Edmund Lee War Room Member Join Date: Jul 2009 Location: Singapore
Posts: 624
Blog Entries: 2 Thanks: 124
Thanked 91 Times in 57 Posts
|
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! |
| | |
| | |
| | #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
|
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 |
| | |
| | #3 |
| Senior Warrior Member War Room Member Join Date: Apr 2006 Location: , , USA.
Posts: 2,433
Thanks: 40
Thanked 155 Times in 148 Posts
|
Never heard of a "define" column, but this is the php code: echo '<a href="www.xxxx.com">Click Here</a>'; |
| | |
| | #4 |
| Landing Page Video Expert Join Date: Nov 2009 Location: Near Las Vegas
Posts: 32
Thanks: 5
Thanked 5 Times in 5 Posts
|
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.) | |
| | |
![]() |
|
| Tags |
| html, insert, issue, link, php, script |
| Thread Tools | |
| |
![]() |