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!

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 Using PHP with MySQL Filtering Input for Queries Preparing SQL Statements

I noticed lots and lots of errors in the included project files for most of the PHP with MYSQL section.

nearly all the links are broken if using this with xampp.

To fix i had to practically open every page and fix small things with the urls, for example when on the main page if you click check out mikes shirts it takes you to basedir/shirts.php when it should be basedir/shirts/shirts.php.... nearly every link in the included project files has this issue and had to be fixed before i could continue learning.

Another example. When clicking on a new shirt instead of opening the shirt.php page with the selected shirt it errors out because its trying to send the value to no page at all.

1 Answer

It appears you might have missed a part in the course where we change those links. If you feel you have missed a part of the project you can download the project update to date with that video, and compare with your version. I bet on the download project on that video will have the links correct. If you find this is not the case, Team Treehouse requests you send them an email about it.

Report a bug

Shoot us an email at help@teamtreehouse.com with a link and a screenshot. If this bug hasn't been reported before, we’ll award you with a special Exterminator badge as a thank you!

Response times from our Support team are fastest from 9am-6pm ET, Monday thru Thursday. Support requests submitted outside those times may receive delayed responses.

Link to Support Page