Form

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts
  • star456
    Private

    • Nov 2005
    • 1

    Form

    I am trying to create a form that people can fill out, and once they click submit their answers will be emailed to me.
    First of all, I have no idea how to do this.
    Secondly, when i go to the object properties of my submit button, the "OnClick" action and value is unclickable.
    I dont know what to do.
    Please help.
    Thanks in advance.
  • Watdaflip
    Major General

    • Sep 2005
    • 2116

    #2
    Heres a quick form submittion and how to get the results

    <form action="submit.php" method="post">
    <input type="text" name="email">
    <input type="submit" value="Submit">
    </form>

    Then the form will get submitted to the page submit.php, on that page you can retreive the info by doing this.

    <?
    $email = $_POST['email'];
    ?>

    The $_POST function will retrieve the ifno submited from the form element who's "name" tag corresponds to what is inside the [] of the $_POST.

    Hope that helps some

    Register/Login Script
    Do you use a Password Protected Directory? Need a way to allow users to make their own account, try my .htaccess Login Script

    Comment

    • Brad
      Forum Administrator

      • Jun 2005
      • 525

      #3
      click the below


      VodaHost

      Your Website People!
      1-302-283-3777 North America / International
      02036089024 / United Kingdom
      291916438 / Australia

      ------------------------

      Top 3 Best Sellers

      Web Hosting - Unlimited disk space & bandwidth.

      Reseller Hosting - Start your own web hosting business.

      Search Engine & Directory Submission - 300 directories + (Google,Yahoo,Bing)


      Comment

      • Nyoman
        Major

        • Sep 2005
        • 426

        #4
        Re: Form

        or go in here : http://www.vodahost.com/vodatalk/showthread.php?t=933
        you will find the answer!
        .
        .
        Nyoman

        Comment

        Working...
        X