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
Priscilla Kam
1,086 PointsPHP url GET parameter issues
Hi
i have a page with url => xxxxxxx.php?pid=x&catid=x , but when i press enter to the link, those parameter still exist , how can i just make it redirect only to xxxxxxx.php only thx.
2 Answers
Danilo Akamine
3,053 PointsIt's a normal behavior of GET method. Why do you need to remove this parameters of URL?
If you need to pass some information to other page, the better way is using the GET method. There are other ways like Session, but maybe don't be a good option in that case.
Thanks.
Priscilla Kam
1,086 Pointsthx danilo