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 trialIron Loki
248 PointsHow can I get a form to redirect once all validation has been met ?
Hello
How can I get a form to redirect once all validation has been met and also carry the information from the form along to the new page ?
Kyle Robertson
31,600 PointsKyle Robertson
31,600 PointsYou can use the header() function after validation has been completed.
EDIT: You can send the form data in a $SESSION store.
form.php
redirect.php