Email form wont send me the info. Only a blank email.

Discussion in 'PHP' started by dubs89, Jun 22, 2010.

  1. #1
    How can i get this form to send me what the user enters into the boxes?

    HTML:
    PHP:
     
    dubs89, Jun 22, 2010 IP
  2. ttyler333

    ttyler333 Member

    Messages:
    62
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #2
    replace
    mail('wesley@indulgemedia.ca', 'test'); 
    PHP:
    with something like
    mail('wesley@indulgemedia.ca', 'test', $message);
    PHP:
    Now you just got to declare what $message will equal. Eitherway you was sending only a message to an email address with a subject. With $message or whatever variable listed there, that is your contents of the email. php.net/mail will help you more.
     
    ttyler333, Jun 22, 2010 IP
  3. Pudge1

    Pudge1 Well-Known Member

    Messages:
    912
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    140
    Digital Goods:
    1
    #3
    I don't understand why people always over complicate these scripts...
     
    Pudge1, Jun 22, 2010 IP
  4. ttyler333

    ttyler333 Member

    Messages:
    62
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    43
    #4
    i used to make the same dumb mistake though... obviously i learned though :)
     
    ttyler333, Jun 22, 2010 IP