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!
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
I'm wondering if we can connect to any databases in workspaces? Looking at learning PHP Data Objects (PDO).
any info would be grateful, thanks :)
Matthew Lang13,483 Points
I don't think you can - or at least I've never tried to. Setting up your own PHP development environment is fairly simple. I'd suggest checking out XAMPP or WampServer, or MAMP if you're on a Mac.
These programs install Apache web server, PHP and MySQL right out the box for you to use easily.
Then follow this tutorial: https://phpdelusions.net/pdo