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 Using Relational Tables Preparing SQL Statements

tomsteward
tomsteward
550 Points

SQLite to PHPMyAdmin

Does anybody know what steps need to be taken to move this to PHPMyAdmin rather than SQLite?

1 Answer

Hi tomsteward,

The zip file download included with the videos contains a .sql file which you can import into phpmyadmin. Once you execute the sql file it should create the database and all the tables populated with the data.

The first video in this course has some instructions in the Teacher's Notes.

https://teamtreehouse.com/library/integrating-php-with-databases/databases-and-php/getting-to-know-the-project

Let me know if you get stuck.

tomsteward
tomsteward
550 Points

Sorted. Thanks Jason.

For anyone who looks at this post for help, you can see details about connecting to a mysql database in the teachers notes here https://teamtreehouse.com/library/integrating-php-with-databases/databases-and-php/getting-started-with-pdo