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 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!