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 Integrating PHP with Databases Limiting Records in SQL Setting LIMITs

Nathan LaBrake
Nathan LaBrake
24,088 Points

The category.php page won't load at all. It simply says "The page isn't redirecting properly."

I followed the steps exactly and I don't see any syntax errors; even if there were I don't see why it would be doing this. The index.php page loads fine, so I doubt it's a server issue. Could there be an error in the header redirect?

3 Answers

Efren Parra
Efren Parra
14,457 Points

Try checking your variables, I was having the same problem, good luck

Qasim Hafeez
Qasim Hafeez
12,731 Points

Did you find out what was wrong? I'm having the same issue

Ranvir Sahota
Ranvir Sahota
9,844 Points

Got the same issue. Anyone find a solution?

Did you ever come across the solution? Ranvir Sahota

Ranvir Sahota can you help me cuz I'm having the same issue.. can you tell me how you solved it?

Ranvir Sahota
Ranvir Sahota
9,844 Points

casthrademosthene Unfortunately, I don't quite fully remember as it was quite some time ago. But if my memory serves me correctly it was a typo. Perhaps if you post the code it might jog my memory and once you do I'll compare it to my code.