The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End [Solved] Redirect After Form Submisson ??

  • This topic is empty.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #25709

    I tried the tutorial written by Chris : Sending Nice HTML Email with PHP

    now I got problem with redirecting to other page after form is submitted, I already tried several methods found around the internet, but wasn’t work for me… :)

    here my form:

    Please Guide me how to make redirection..

    TQ in Advance..


    Just posting the form link unfortunately doesn’t show the code you are using…

    Redirects in PHP are usually done using the header function:

    an example:


    (moved to PHP Section)

    Falken is correct, the header function is what you’re looking for. A lot of people have it set up like this:

    if form fails {

    else {


    TQ for your kind responses….

    I fixed the errors after referring: [] + some other factors.

    the header function already tried, but not in the right place… that’s why i failed..

    after submitted, form will be call [websitechange.js] which is external js file that contain thank you message.
    I just modified the js file. [Problem Solved].

    TQ for helping…. :)

Viewing 4 posts - 1 through 4 (of 4 total)
  • The forum ‘Back End’ is closed to new topics and replies.