JTapp Posted April 29, 2008 Share Posted April 29, 2008 Does this look right to you guys? I'm seeing the email address returned, but its adding my website address in front of the email address. $variable12=$row["Email"]; echo "<a href=\"$variable12\">Click Here To Email</a>"; Quote Link to comment Share on other sites More sharing options...
947740 Posted April 29, 2008 Share Posted April 29, 2008 Try changing your [/url] to </a> Quote Link to comment Share on other sites More sharing options...
JTapp Posted April 29, 2008 Author Share Posted April 29, 2008 huh? is that a typo? Quote Link to comment Share on other sites More sharing options...
947740 Posted April 29, 2008 Share Posted April 29, 2008 The website automaticall changes the closing anchor link to a [/url]. It did that to yours too, which is what I was commenting on. Quote Link to comment Share on other sites More sharing options...
JTapp Posted April 29, 2008 Author Share Posted April 29, 2008 sorry - you lost me. I'm self-teaching myself this stuff.. Quote Link to comment Share on other sites More sharing options...
947740 Posted April 29, 2008 Share Posted April 29, 2008 The forum replaces </a> with [/url]. Can you post the exact output of the code? Quote Link to comment Share on other sites More sharing options...
JTapp Posted April 29, 2008 Author Share Posted April 29, 2008 I've attached a jpg screenshot - hopefully this is what you are looking for..? [attachment deleted by admin] Quote Link to comment Share on other sites More sharing options...
947740 Posted April 29, 2008 Share Posted April 29, 2008 Post the result of the code, what you mentioned here: I'm seeing the email address returned, but its adding my website address in front of the email address. Quote Link to comment Share on other sites More sharing options...
JTapp Posted April 29, 2008 Author Share Posted April 29, 2008 its putting my website link in and then the email address: http://www.mywebsite.com/myfilefolder/user@comcast.net Quote Link to comment Share on other sites More sharing options...
JTapp Posted April 29, 2008 Author Share Posted April 29, 2008 My variable 4 works just fine... Quote Link to comment Share on other sites More sharing options...
947740 Posted April 29, 2008 Share Posted April 29, 2008 Change <a href=\"$variable12\"> To <a href=\"mailto:$variable12\"> Quote Link to comment Share on other sites More sharing options...
JTapp Posted April 29, 2008 Author Share Posted April 29, 2008 Perfect (and logical) - thank you very much. Quote Link to comment Share on other sites More sharing options...
947740 Posted April 30, 2008 Share Posted April 30, 2008 You are very welcome. Quote Link to comment Share on other sites More sharing options...
JTapp Posted October 8, 2008 Author Share Posted October 8, 2008 This line has suddenly stopped working for me.. any ideas? echo "<td class=\"td_id\"><a href=\"mailto:$variable5\"></td>\n"; Quote Link to comment Share on other sites More sharing options...
947740 Posted November 12, 2008 Share Posted November 12, 2008 echo "<td class=\"td_id\"><a href=\"mailto:$variable5\">Text</a></td>\n"; Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.