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 Working with $_GET and $_POST in PHP $_GET and $_POST Choosing Between $_GET and $_POST

Andreina Nunez
Andreina Nunez
1,316 Points

how to insert the username of a login page into $_GET[] of another webpage.

I am on a school project that asks me to create different web pages( index, login, signup, redirect, and thank you). The thank-you webpage needs to say the username but it needs to be received as a GET/query parameter. Login and signup are where the pages that contain the form for the username. how can I get the parameter in thankyou if the page is redirected from redirect and not from signup or login