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 Simplifying with a Function

I have a list of genres appearing above the form generated by the suggest.php file, & the pagination doesn't appear?

This is my code https://w.trhou.se/dorj4n28us

I have 2 issues I would appreciate any help with:

1. The list of genres work ok in the drop down list from suggest.php, but the list also appears directly above the suggest form, i think i need to remove some code, but not sure which section?

2. The front end loads the page, but when i click on books, music or movies in the nav, it won't load, the error is saying too many redirects, this error started when trying to introduce pagination, which doesn't yet appear on my site.

It was working up to this point & is almost finished, it would be great to get it working, any pointers as to where I've gone wrong would be great.

Thanks in advance.

1 Answer

Jennifer Nordell
seal-mask
STAFF
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Hi there, Liz Leith! I took a look but would have to backtrack a lot to find the source of the errors. My advice is to go to the next video and download the project files from there. Compare them to what you have now and see if you can spot the discrepancies.

Hope this helps! :sparkles:

Hi Jennifer, Thank you for your reply, i don't have the subscription that allows downloads, but i looked thru' my code & saw i had a spelling mistake, fixed it & the project works fine now. Thanks again.

Jennifer Nordell
seal-mask
.a{fill-rule:evenodd;}techdegree
Jennifer Nordell
Treehouse Teacher

Liz Leith all subscriptions allow for downloading of the project files. Just not all subscriptions allow for downloading the videos :smiley: Glad you got it worked out, though! :sparkles: