JTapp Posted October 8, 2008 Share Posted October 8, 2008 All of a sudden I'm getting the following characters after somebody clicks on my email links: </td><td class= for example - they would click on the email link, it would open up a new email message and look like this: [email protected]</td><td class= Do you guys know how I can fix this? Here is my line of code: $variable12=$row["Email"]; Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/ Share on other sites More sharing options...
refiking Posted October 8, 2008 Share Posted October 8, 2008 Can you post the table where this is being displayed? It probably doesn't have anything to do with this line. Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660038 Share on other sites More sharing options...
JTapp Posted October 8, 2008 Author Share Posted October 8, 2008 Here is a table with an example: http://www.glflamason.org/lodgelocator/3view.php?id=13 Thanks Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660045 Share on other sites More sharing options...
refiking Posted October 8, 2008 Share Posted October 8, 2008 You need to move the </a> before </td>. If you can post the code here, I can be much more specific, but that is the problem most likely. And if you don't have it there at all, you need to insert </a> before </td><td class= Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660050 Share on other sites More sharing options...
JTapp Posted October 8, 2008 Author Share Posted October 8, 2008 Here is the line: echo "<td class=\"td_id\"><a href=\"mailto:$variable5\</td>\n"; I'll play around with what you said.. although I'm not 100% clear. Thanks Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660061 Share on other sites More sharing options...
refiking Posted October 8, 2008 Share Posted October 8, 2008 Yep. Change it to this... echo "<td class=\"td_id\"><a href=\"mailto:$variable5\</a></td>\n"; Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660070 Share on other sites More sharing options...
JTapp Posted October 8, 2008 Author Share Posted October 8, 2008 Still having the problem... playing around though.. Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660091 Share on other sites More sharing options...
JTapp Posted October 8, 2008 Author Share Posted October 8, 2008 Geez.. I just can't remember doing this.. I did it last year sometime. Here is more code I'm using .. its just giving me trouble echo "<td class=\"td_id\">$variable4</td>\n"; echo "<td class=\"td_id\"><a href=\"mailto:$variable5\</td>\n"; echo "<td class=\"td_id\">$variable5</td>\n"; Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660124 Share on other sites More sharing options...
Stryves Posted October 8, 2008 Share Posted October 8, 2008 echo "<td class=\"td_id\"><a href=\"mailto:$variable5\"></a></td>\n"; Why is there no "> to the end of the a href? Try the above. Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660203 Share on other sites More sharing options...
JTapp Posted October 8, 2008 Author Share Posted October 8, 2008 Thanks but no.. it just made the hyperlink disappear. Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660232 Share on other sites More sharing options...
JTapp Posted October 8, 2008 Author Share Posted October 8, 2008 This is as close as I can get to making it worK: echo "<td class=\"td_id\">$variable4</td>\n"; echo "<td class=\"td_id\"><a href=\"mailto:$variable5>\n"; echo "<td class=\"td_id\">$variable5</td>\n"; Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660281 Share on other sites More sharing options...
JTapp Posted October 8, 2008 Author Share Posted October 8, 2008 Here's my latest - anybody have any ideas as to what is wrong?? echo "<td class=\"td_id\"><a href=\"mailto:$variable5\"</td>\n"; Link to comment https://forums.phpfreaks.com/topic/127568-solved-simple-email-script-question/#findComment-660320 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.