Hi .. it's easy if you use a mysql database
you could do someting like this:
create table books (
id int primary key not null auto_increment, //not necessary
name varchar(20) not null,
keywords text not null,
author .....
);
the search string
SELECT * FROM books WHERE keywords LIKE '$keyword1' || keywords LIKE '$keyword2' .... SORT BY ''
this will return all the books that include, in the keywords field, one or more searched keyords
where $keyword1, $keyordx are the searched keywords.
use explode() to separe keywords in input