PDA

View Full Version : email url that will open email php


andrewsheldon98
07-20-2002, 11:29 PM
basically my problem is when i click on an email url it will open my email php file and will then insert the email url you clicked on in a form box.

is it possible?

Cloudski
07-21-2002, 01:57 AM
Put a link to your email php file like this:

<a href="email.php?myMail=you@whatever.com">Email me!!</a>

Now, for the form field, put

echo("<input type=\"text\" name=\"To\" value=$myMail>");

Hope that helps :thumbsup:

andrewsheldon98
07-21-2002, 07:56 AM
thanks cloudski, works great!!!