I must make this form. Please help.

Discussion in 'PHP' started by andrey.m, Oct 2, 2007.

  1. #1
    Hello. I will try to explain what i would like to do :

    A simple form where the user :
    * will select what he wants from a drop-down box.
    * will type his email.

    The problem is :

    I would like the user to receive an auto email depending on what he selected from the drop-down box.

    And also if it is possible to be registered in my newsletter (if not, i will solve this problem by hand) :)

    Please... I really need this. Thanks.
     
    andrey.m, Oct 2, 2007 IP
  2. matthewrobertbell

    matthewrobertbell Peon

    Messages:
    781
    Likes Received:
    35
    Best Answers:
    0
    Trophy Points:
    0
    #2
    I would be able to code this for you if you are interested.
     
    matthewrobertbell, Oct 2, 2007 IP
  3. sdemidko

    sdemidko Member

    Messages:
    81
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #3
    can be done for spme rep or money )
     
    sdemidko, Oct 2, 2007 IP
  4. kendo1979

    kendo1979 Peon

    Messages:
    208
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #4
    this is a simple code, since a dropdown box have values and label, and it sent the value chosen to your next script, just make the next script send the mail base on the value which was sent.

    eg. <option value="1">Me</option><option value="2">You</option>

    on your accepting script

    if value = 1 then send mail about ship

    else if value = 2 then send mail about dogs

    contact me if you need help
     
    kendo1979, Oct 2, 2007 IP