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 Databases and PHP Getting to Know the Project

Could we use mysqli instead of using PDO to connect to databases for this course track?

I was wondering because I am kind of already familiar with mysqli or would it be better to use PDO?

2 Answers

Hey Gremyko, I think it's a choice. But knowing how to use both PDOStatement and MySQLi to work with database help.

I agree, but in the videos using PDO the Alena doesn't do a good job of explaining it, so I am lost and its hard to keep up. I have some experience with mysqli already, so with that it would be easier for me to follow along

I understand. It may require a bit more application to really grasp the concept. I would say do a little bit more reading about it and apply it a few time to let it sync. If you got time, check PHPDelusions tutorials on PDO

Hope it helps!