www.webdeveloper.com
Results 1 to 5 of 5

Thread: [RESOLVED] link inside php created mailto not working

Threaded View

  1. #1
    Join Date
    May 2009
    Posts
    239

    resolved [RESOLVED] link inside php created mailto not working

    I am creating a link to an amil button and inside the mailto content I want to add a link. But that is not working. I breaks the mailto link.

    PHP Code:
    $body ="
    Date Required: 
    $date%0A
    Contact: 
    $name[1] $name[0]%0A
    Requesting Lawyer: 
    $lawyername[1] $lawyername[0]%0A

    %0D%0A%0D%0A

    <a href=\"searchresults.php?id=
    $id\">View Full Details</a>
    "
    ;

    echo 
    '
    <p class="head">Your request has been submitted.</p>
    <p class="subhead">You must confirm your Search by email.<br />Please, click on the button below to send the email.</p>
    <br /><br />

    <a href="mailto: email@email.com?subject=Corporate Search Request&body='
    .$body.'" /><img src="images/email-order.jpg" width="113" height="29" border="0" /></a>
    '
    ;
    }
    ?> 
    This is what appears:

    View Full Details" " />[graphic]

    error.gif
    Attached Images Attached Images

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles