Thread: mailto: link

  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2000
    Rep Power
    My script is <? $MyLink='<a href="mailto:<? echo $Email;?>">'.$Email."</a>"; ?>
    This is then saved to a file (txt) and the data inside the file is:
    <a href="mailto:<? echo $Email; ?>"></a>
    So when I click on the mailto: link the status bar reads:- mailto:<? echo $Email ?> and
    the mailer opens with no address :-(.
    Any and all suggestions appreciated.

    With my kind regards,
  2. #2
  3. No Profile Picture
    Apprentice Deity
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Jul 1999
    Niagara Falls (On the wrong side of the gorge)
    Rep Power
    The problem is that you have <? ... <? ... ?>...?> Why are you doing that?

    Try this:

    <? $MyLink='<a href="mailto:'.$Email.'">'.$Email."</a>"; ?>

Similar Threads

  1. Help with Java Script
    By AShain in forum HTML Programming
    Replies: 1
    Last Post: February 17th, 2004, 04:29 AM
  2. is putting a message into a mailto link possible?
    By GregM in forum HTML Programming
    Replies: 3
    Last Post: January 7th, 2004, 09:38 PM
  3. chaning link color using css
    By titi in forum CSS Help
    Replies: 0
    Last Post: December 12th, 2003, 05:36 PM
  4. mailto link in HTML not supports "&"
    By vikooyakoo in forum HTML Programming
    Replies: 3
    Last Post: November 23rd, 2003, 05:31 AM
  5. Help: expand/collapse menu with php and mysql
    By ChiDao in forum PHP Development
    Replies: 3
    Last Post: October 7th, 2003, 04:15 AM

IMN logo majestic logo threadwatch logo seochat tools logo