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 trialLogan R
22,989 PointsWhy do none of the PHP & MySQL courses talk about how to use insert and update using PDO?
There are two courses on how to use PDO with PHP to access MySQL, but neither of them discuss how to do inserts and updates using PDO, only select queries. Is there a reason for that?
Thanks!
Kyle Gunby
23,838 PointsKyle Gunby
23,838 PointsBecause the main focus of the course is using PDO and it's methods. Inserts and updates are just different types of queries. You learn about that in database foundations.