🤑 Join the Treehouse affiliate program and earn 25% recurring commission!

New No-Code Track! 🚀start learning today!

🌟 Dreaming of a bright future? 🎓 Ask about the Treehouse Scholarship program! 🚀

✨ Earn college credits in Cybersecurity, JS, HTML, CSS and Python

  • Treehouse Logo
  • Plans
    Chevron
    • For Individuals
    • For Businesses
    • For Schools
    • For Libraries
    • For Military
  • Library
    Chevron
    • All Courses
    • Tracks
    • College Credit
  • Techdegree
    Chevron
    • Overview
    • Front End Development
    • Full Stack JavaScript
    • Data Analysis
    • UX Design
    • Python
  • Community
    Chevron
    • Code Adventures
    • Discord
    • Forum
    • Success Stories
    • Treehouse Links
    • 100 Days of Code
  • Resources
    Chevron
    • Career Toolbox
    • CodeForward
    • Free Treehouse Near Me
    • Jobs
    • Blog
    • Support
    • About
  • For Individuals For Businesses For Schools For Libraries For Military
  • All Courses Tracks College Credit
  • Overview Front End Web Development Full Stack JavaScript Python Development Data Analysis UX Design
  • Code Adventures Discord Forum Success Stories Treehouse Links 100 Days of Code
  • Career Toolbox CodeForward Free Treehouse Near Me Jobs Blog Support About
  • Sign In
  • Free Trial
Instagram Twitter Facebook YouTube LinkedIn
    • Newest
      • Newest
      • Active
      • Unanswered
      • Featured
    • All Topics
      • All Topics
      • • General Discussion
      • • AI
      • • Android
      • • APIs
      • • Coding for Kids
      • • College Credit
      • • Computer Science
      • • CSS
      • • Data Analysis
      • • Databases
      • • Design
      • • Development Tools
      • • Digital Literacy
      • • Game Development
      • • Go Language
      • • HTML
      • • Java
      • • JavaScript
      • • Learning Resources
      • • Machine Learning
      • • No-Code
      • • PHP
      • • Professional Growth
      • • Python
      • • Quality Assurance
      • • React
      • • Ruby
      • • Security
      • • Swift
  • Forgmi Tuppleminsk
    PLUS
    Forgmi Tuppleminsk
    Courses Plus Student 1,786 Points

    How do I have the header redirect to a completely different page?

    Posted September 2, 2015 6:31am by Forgmi Tuppleminsk
    Forgmi Tuppleminsk
    Courses Plus Student 1,786 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    5 Answers

  • Muhammad Yousef
    PLUS
    Muhammad Yousef
    Courses Plus Student 4,023 Points

    what is the function of header (); ?

    Posted July 4, 2015 3:50pm by Muhammad Yousef
    Muhammad Yousef
    Courses Plus Student 4,023 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    1 Answer

  • melissa brown
    melissa brown
    4,670 Points

    what if i wanted to give the user and contact form number?

    Posted June 11, 2015 11:38am by melissa brown
    melissa brown
    4,670 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    2 Answers

  • ahmed saleh
    ahmed saleh
    2,754 Points

    i have another idea , but i'm not sure if it's correct or even work ? title(Redirecting after form submission)

    Posted April 6, 2015 3:37pm by ahmed saleh
    ahmed saleh
    2,754 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    1 Answer

  • gyatmnucla
    gyatmnucla
    7,618 Points

    Why use double quotes

    Posted February 4, 2015 2:42pm by gyatmnucla
    gyatmnucla
    7,618 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    1 Answer

  • Phillip Gibson
    Phillip Gibson
    1,731 Points

    My form will not submit or re-direct

    Posted January 29, 2015 7:52pm by Phillip Gibson
    Phillip Gibson
    1,731 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    1 Answer

  • orange sky
    seal-mask
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points

    Back button may process the form again and send a duplicate email??

    Posted January 25, 2015 1:32am by orange sky
    .a{fill-rule:evenodd;}techdegree
    orange sky
    Front End Web Development Techdegree Student 4,945 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    4 Answers

  • SABCD ABCD
    SABCD ABCD
    3,414 Points

    [SOLVED]My header is displaying information that's supposed to be sent in the email, on the thank you page.

    Posted December 15, 2014 8:39am by SABCD ABCD
    SABCD ABCD
    3,414 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    1 Answer

  • Jamaal Todd
    Jamaal Todd
    5,689 Points

    PHP header not redirecting

    Posted December 9, 2014 1:06am by Jamaal Todd
    Jamaal Todd
    5,689 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    4 Answers

  • Mike Zhu
    Mike Zhu
    1,840 Points

    PHP Redirecting using header(); NOT WORKING

    Posted November 8, 2014 8:20am by Mike Zhu
    Mike Zhu
    1,840 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    4 Answers

  • Mike Zhu
    Mike Zhu
    1,840 Points

    PHP Header Redirecting Not Working

    Posted November 8, 2014 4:09am by Mike Zhu
    Mike Zhu
    1,840 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    1 Answer

  • Alex Martin
    Alex Martin
    2,126 Points

    Why is he using ’ for apostrophes rather than just typing an apostrophe on the keyboard?

    Posted September 9, 2014 12:27pm by Alex Martin
    Alex Martin
    2,126 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    2 Answers

  • Felix Bolton
    Felix Bolton
    2,750 Points

    redirection is not working?

    Posted August 6, 2014 10:53pm by Felix Bolton
    Felix Bolton
    2,750 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    5 Answers

  • ilker senturk
    ilker senturk
    17,583 Points

    HEDAER() FUNCITON

    Posted July 28, 2014 12:59pm by ilker senturk
    ilker senturk
    17,583 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    1 Answer

  • Penny Leyton
    Penny Leyton
    483 Points

    Redirecting after form submission doesn't work for me, even tho I copied code on the video. Worked before last stage

    Posted July 15, 2014 1:33am by Penny Leyton
    Penny Leyton
    483 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    4 Answers

  • Jeremiah Swift
    Jeremiah Swift
    3,277 Points

    PHP Redirect to Contact-thanks.php doesn't seem to be working.

    Posted June 26, 2014 9:45pm by Jeremiah Swift
    Jeremiah Swift
    3,277 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    1 Answer

  • lindseyfowler
    lindseyfowler
    4,526 Points

    Redirecting

    Posted June 18, 2014 8:28pm by lindseyfowler
    lindseyfowler
    4,526 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    3 Answers

  • Alex Boltava
    Alex Boltava
    896 Points

    header() method has no effect

    Posted May 20, 2014 4:47pm by Alex Boltava
    Alex Boltava
    896 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    3 Answers

  • Samuel Mamulaschwili
    Samuel Mamulaschwili
    9,935 Points

    Redirecting After a Form Submission: with Variables

    Posted April 22, 2014 9:36am by Samuel Mamulaschwili
    Samuel Mamulaschwili
    9,935 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    1 Answer

  • Peter Garside
    Peter Garside
    7,233 Points

    Unexpected Result

    Posted April 13, 2014 4:47pm by Peter Garside
    Peter Garside
    7,233 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    2 Answers

  • Adam Shockley
    Adam Shockley
    3,911 Points

    My PHP header refuses to redirect. Help!

    Posted April 1, 2014 6:10am by Adam Shockley
    Adam Shockley
    3,911 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    3 Answers

  • Dimitris Tsioumas
    Dimitris Tsioumas
    1,649 Points

    header function not working

    Posted March 24, 2014 1:17am by Dimitris Tsioumas
    Dimitris Tsioumas
    1,649 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    5 Answers

  • Scott Dunstan
    Scott Dunstan
    12,517 Points

    Header() not working?

    Posted March 16, 2014 5:41am by Scott Dunstan
    Scott Dunstan
    12,517 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    3 Answers

  • iainfriend
    iainfriend
    4,439 Points

    Redirect header() bring up a blank page

    Posted February 25, 2014 4:06pm by iainfriend
    iainfriend
    4,439 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    0 Answers

  • Zander Fields
    PLUS
    Zander Fields
    Courses Plus Student 5,458 Points

    Redirect doesn't seem to work

    Posted February 21, 2014 6:46pm by Zander Fields
    Zander Fields
    Courses Plus Student 5,458 Points
    • PHP
    • Build a Simple PHP Application
    • Adding a Contact Form
    • Redirecting After a Form Submission

    3 Answers

Posting to the forum is only allowed for members with active accounts.
Please sign in or sign up to post.

    Treehouse

  • About
  • Blog
  • Careers
  • Community
  • Stories
  • Shop
  • Contact
  • Gift Card

See Full Catalogue

Techdegree

  • Front End Web Development
  • Full Stack JavaScript
  • Python Development
  • Data Analysis
  • UX Design

Tracks

  • Learn to Code for Beginners
  • Beginning Python
  • Beginning SQL
  • Beginning Java
  • ...see more

Courses

  • JavaScript Basics
  • Intro to HTML & CSS
  • Python Basics
  • CSS Layout
  • ...see more

Explore

  • Plans
  • Affiliates
  • Perks
  • Free Treehouse Near Me
  • Treehouse for Libraries
  • Treehouse for Businesses
  • Twitter
  • YouTube
  • Facebook
  • LinkedIn
  • Instagram
Terms & Conditions | Privacy

© 2025 Treehouse Island, Inc.