The forums have permanently moved to This forum will be kept around in read-only mode for archival purposes. To learn how to continue using your existing account on the new forums, check out this thread.

Results 1 to 3 of 3

Thread: PHP contact form

  1. #1
    Registered User

    PHP contact form

    I have just been using your tutorial on making a contact form using PHP. (

    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!”

    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!


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

  3. #3
    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 Meet the Moderators Advertise

 Link to Us


Copyright 1999 - 2012