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

Contact form help

Discussion in 'PHP & Perl' started by JB112, Feb 12, 2011.

  1. JB112

    JB112 Newbie

    Joined:
    Oct 14, 2010
    Messages:
    15
    Likes Received:
    7
    Location:
    On a long and lonesome highway, East of Omaha
    Hey,

    I'm kind of stuck with my contact form. I'm not actually sure if it is the php or the html is the problem but when sending an email from my contact form on my site, the email is sending but i am not getting any of the info that is being filled into the forms. not really sure what to do

    attached pics of both codes
     

    Attached Files:

  2. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    Post the actual source, I can't read that shit. It's too small.
     
    • Thanks Thanks x 1
  3. Autumn

    Autumn Elite Member

    Joined:
    Nov 18, 2010
    Messages:
    2,197
    Likes Received:
    3,041
    Occupation:
    I figure out ways to make money online and then au
    Location:
    Spamville
    err have you tried $_POST not $_Post. Variables names are case sensitive.

    Protip: echo your $_POST array on the email handling page while you're testing. That tells you whether it's an error with your form html or not.
     
    • Thanks Thanks x 1
  4. JB112

    JB112 Newbie

    Joined:
    Oct 14, 2010
    Messages:
    15
    Likes Received:
    7
    Location:
    On a long and lonesome highway, East of Omaha
    Cheers, never tried that. not really experienced with php! been pulling my hair out all night with it! sorry about the pics, they were grand before i uploaded them, dont know what happened.

    Cheers
     
    Last edited: Feb 12, 2011
  5. JB112

    JB112 Newbie

    Joined:
    Oct 14, 2010
    Messages:
    15
    Likes Received:
    7
    Location:
    On a long and lonesome highway, East of Omaha
    Doing that to the code fixed it. everything posted :).

    Thanks Autumn.