PHP with forms<

liunx

Guest
I have a question about a form with PHP. I have no experience with PHP so if anyone could just show me the script that would be great.

I have a form and I want to send it to an email address that the user enters. I am not sure how to make the form action mailto: a variable using html and somebody told me you had to use PHP. Ex. If the user entered

<!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->

as the email address, I want the form to be emailed to that person when they press the submit button. If that is possible (I'm sure it is as I have seen it done), please tell me what needs to be done to achieve that.

Thanks!
walterGo and have a look at the FAQ on PHP here (<!-- m --><a class="postlink" href="http://www.htmlforums.com/showthread.php?s=&threadid=42075">http://www.htmlforums.com/showthread.ph ... adid=42075</a><!-- m -->) it covers your mailing script

Hope this helps
 
Back
Top