#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    36
    Rep Power
    14
    How do I get mailto to work with $var. I have E-Mail adresses in mysql, that I have no problem retreiving as $email. I want to display a mailto link on a web page when it is called. I just get the $email not the address when I click the link. Maybe a different method would work better.

    Thanks D. E. L.
  2. #2
  3. .Net Developer
    Devshed Novice (500 - 999 posts)

    Join Date
    Feb 2000
    Location
    London
    Posts
    987
    Rep Power
    15
    << that I have no problem retreiving as $email.>>


    just print that email address in the href.

    <a href="mailto:<?php echo $email;?>">contact us</a>

    ------------------
    SR -
    shiju.dreamcenter.net

    "I will love thee, O Lord,my strength"
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    May 2000
    Posts
    36
    Rep Power
    14
    Shiju, Thanks for the help. I was using <a href="mailto:<?php echo '$email';?>">contact us</a> with '$email' it was 2:am my time

    D. E. L

Similar Threads

  1. parse order question
    By wannabe in forum PHP Development
    Replies: 5
    Last Post: December 13th, 2003, 09:06 PM
  2. how to get current page as attachment in mailto tag
    By kiranvinjam in forum ASP Programming
    Replies: 5
    Last Post: October 7th, 2003, 03:55 PM
  3. simple $var = $var question
    By wannabe in forum PHP Development
    Replies: 5
    Last Post: May 25th, 2003, 05:35 PM
  4. mailto: <array> in Javascript?
    By imsomehalf in forum JavaScript Development
    Replies: 4
    Last Post: April 9th, 2003, 03:32 AM
  5. Replies: 2
    Last Post: October 26th, 2001, 02:50 PM

IMN logo majestic logo threadwatch logo seochat tools logo