1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Simple form for users to select, customize, and submit a website design to an e-mail

Discussion in 'General Programming Chat' started by DPatel304, Apr 5, 2010.

  1. DPatel304

    DPatel304 Regular Member

    Joined:
    Nov 11, 2009
    Messages:
    227
    Likes Received:
    31
    I'm fairly new at programming, but eager to learn.

    A friend and I are starting a website where we will design websites for newbies, and, basically, I want the ability for the customer to pick and choose what types of features they would like (similar to how you would customize a PC on the dell website). They would just select whether or not they want certain features on their website, input their information (name, e-mail, and additional comments), and forward all of this to an e-mail address.

    I'm wondering what would be the best way to go about doing this. I was thinking of just doing a radio buttons and/or drop down menus, and a text box for the name, e-mail, and additional comments. All of this would be extremely simple to do in HTML, I'm just not sure how to go about exporting the data I receive into an e-mail.
     
  2. Newbie.

    Newbie. Registered Member

    Joined:
    Dec 12, 2009
    Messages:
    52
    Likes Received:
    19
    You could look into the PHP Mail() Function.
     
  3. voyevoda

    voyevoda Regular Member Premium Member

    Joined:
    Mar 21, 2010
    Messages:
    217
    Likes Received:
    97
    Location:
    Eastern Front
    Yup, just have a HTML form that sends a POST request to your PHP script which calls the aforementioned mail() function.