Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New to the CF scene
    Join Date
    Feb 2012
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    I need help with a form

    Hello,

    I hope you can help me, i am new to building websites, i have created the following form and i dont know how i send it to an email account on submit. I have read that i need to create a php file such as contact.php can someone tell me the correct coding i need for this php file, thank you in advance:

    <form action="contact.php" method="post">
    First name: <input type="text" name="cf_firstname" /><br />
    Last name: <input type="text" name="cf_lastname" /><br>
    Tel Number: <input type="text" name="cf_telephone" /><br>
    <br>Are you...<br>
    <input type="radio" name="type" value="cf_personal" /> Personal Used Clothing<br />
    <input type="radio" name="type" value="cf_business" /> Business <br>
    <input type="radio" name="type" value="cf_nonprofit" /> Non-for-profit<br>
    <input type="radio" name="type" value="cf_charity" /> Charity<br>
    <input type="radio" name="type" value="cf_church" /> Church<br>
    <input type="radio" name="type" value="cf_group" /> Community Group
    <br>
    <input type="submit" value="Submit" />

  • #2
    Senior Coder
    Join Date
    Aug 2010
    Location
    High Point, NC
    Posts
    3,335
    Thanks
    5
    Thanked 363 Times in 360 Posts
    Teed


  •  

    Posting Permissions

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