Icy Penguin
July 3rd, 2008, 01:58 PM
$books_sql .= "SELECT *, MATCH (title) AGAINST ('$keywords') AS score FROM books WHERE MATCH (title) AGAINST ('$keywords') ORDER BY SCORE desc";
Right now I just have two rows in my table - one of which whose title is "some boring book".
When I set $keywords to 'some' or 'boring', for example, I get no rows returned. Do I need to put in more rows if I want to test out my search function?
Right now I just have two rows in my table - one of which whose title is "some boring book".
When I set $keywords to 'some' or 'boring', for example, I get no rows returned. Do I need to put in more rows if I want to test out my search function?