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 trialDavid Bilson
13,819 PointsRESOLVED: Product ID not changing when clicking different shirts
When I am clicking different shirts the product id on the shirt.php page URL is not changing. It is always:
http://shirts4mike/shirt.php?id=101
I thought that I must have written the code incorrectly, so I substituted the code I had written in shirts.php and shirt.php with the working code supplied by Randy. I got the same result with Randy's code.
I tried another web browser (Safari on Mac OSX) and it works fine.
How can I prevent this happening on my local MAMP Pro server?
I am assuming it is caused by a browser cache?
Many Thanks
Dave
PS
Great course Randy. I am learning more by doing your course than I have from reading numerous PHP books over the last few years.
I'm a bit of a PHP "Shelf Development" expert :-)
David Bilson
13,819 PointsDavid Bilson
13,819 PointsRESOLVED: Did a search for clear browsing data using help menu on Crome browser and cleared:
Cached images and files
Seems to be working fine now.