Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

PHP

Ole Vølund Skov Mortensen
Ole Vølund Skov Mortensen
27,842 Points

How do I redirect in PHP, after a form handling?

I've made a website that takes some data and put in a database. I'm working with a booking system and found that I couldn't use header(); to redirect to a query string: "?status=ok" to prevent Data from form resubmitting after a reload. can anyone help?