Results 1 to 3 of 3

Thread: PHP contact form

  1. #1
    4
    posts
    Registered User

    PHP contact form

    I have just been using your tutorial on making a contact form using PHP. (http://www.kirupa.com/web/php_contact_form.htm)


    I think its great and has been really helpful, although I was wondering - when you submit the info in the form it brings you to a page which displays the information


    “Data has been submitted to me@myemail.com!”



    is there anyway that when you press the submit button that I could redirect the user to a custom page of my own?
    hoping you can help!


    suzy

  2. #2
    if you're using the code on this page, then change this:
    PHP Code:
    echo  "Data has been submitted to $to!"
    to
    PHP Code:
    header'Location: mycustompage.html' ); 
    of course, you will have to change mycustompage.html to whatever address you want.

  3. #3
    4
    posts
    Registered User
    Thanks a mil! will give it a wee go here!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

Home About kirupa.com Meet the Moderators Advertise

 Link to Us

 Credits

Copyright 1999 - 2012