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

Development Tools

sandra sanz gonzalez
sandra sanz gonzalez
2,258 Points

How do I put a searchable database in my HTML website?

The purpose of my website is to make people find books. How can insert a database in my web? How can I link a database to the search bar? so the people can find the books which I have in my database???

1 Answer

John Steer-Fowler
PLUS
John Steer-Fowler
Courses Plus Student 11,734 Points

Hi sandra sanz gonzalez,

For this your best option is to use the PHP language and MySQL database. There are courses on how to do things like this on Treehouse :D

Have a look through the Library on your side-menu to the left and look for PHP. I recommend starting with "PHP Basics"

PHP adds dynamic features to your website like the search functions you are looking for.

Keep up the good work.