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 trialGiles Hales-Tooke
1,888 Pointsrelational database recommendations please
I'm looking into an idea where I use WP as a standard CMS, plus conferencing facilities for a community to view and discuss data. In database terms, it's not that demanding but it would need to be relational. Does WP have any such plugin?
thanks
2 Answers
Richard Norby
24,493 PointsHello Giles, WordPress uses MySQL, which is a relational database. WordPress provides a class called WP_Query for interacting with the database. It gives you a lot of built in functionality. You can also build your own db routines and your own SQL queries. A good place to start is with the article on WP_Query in the WordPress codex. You can find it at this link: http://codex.wordpress.org/Class_Reference/WP_Query Good Luck! Richard
Richard Norby
24,493 PointsHello Giles, Here's a little supplement to my earlier comments. You can create your own tables in the WordPress database. Their strong recommendation is to use their existing tables. However, there are some circumstances where it just makes sense to create your own--especially if you are going to be doing a lot of queries. Best, Richard
Giles Hales-Tooke
1,888 PointsGiles Hales-Tooke
1,888 PointsHi Richard - appreciate your response - give me a good place to start - many thanks