Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

PHP Integrating PHP with Databases Limiting Records in SQL Setting Up Pagination Variables

Alfredo Prince
Alfredo Prince
6,175 Points

Cannot connect to the database?

For some reason it's not connecting to the database and I haven't modified my connection. What's up?

Simon Coates
Simon Coates
28,692 Points

you may want to provide more context. It's going to be difficult for someone to debug without having to rewatch the videos and then guess what the problem is. i think you can also snapshot your workspace so people can take a look. (you may need to resubmit, as i'm not sure questions that are a couple pages down the forum get answered.). The download zip that goes with the video (or in some courses, the next video), will include the db connection file. I think the db for that course is sqllite3 (?), in which connection should be a matter of including the file that attempts the connection (you can compare with the file included in downloads), and having the files at the correct locations in the directory structure.