1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Help please

Discussion in 'PHP' started by belkocrnic, Nov 24, 2008.

  1. #1
    I have a simple php email form that is working fine, sends the mail, but i like after the thanks message, automatically to go to the html page where the form is. Can you tell me the correct command for that.
    Thanks
     
    belkocrnic, Nov 24, 2008 IP
  2. share_boy

    share_boy Active Member

    Messages:
    71
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    you can use header function.

    script :

    header('location : form.php');

    * Put Script on thank message page.
    * change form.php with your email form page.
     
    share_boy, Nov 25, 2008 IP
  3. smatts9

    smatts9 Active Member

    Messages:
    1,089
    Likes Received:
    71
    Best Answers:
    0
    Trophy Points:
    88
    #3
    Use a header like shareboy suggested.
     
    smatts9, Nov 25, 2008 IP
  4. qualityfirst

    qualityfirst Peon

    Messages:
    147
    Likes Received:
    6
    Best Answers:
    1
    Trophy Points:
    0
    #4
    A meta re-direct would probably be more appropriate as the user would have X (you can specify the number) of seconds to read the thank you message before being sent back.
     
    qualityfirst, Nov 25, 2008 IP