searching database
I have a table that has bug(description,subject or something). i want to search it by keyword.
for example, a user enters "compatibility with Internet Explorer".
i want to find "compatibility" word and "Internet Explorer" from the table. then should i make a string array
like
String[] keywords = {"compatibility", "Internet Explorer"};
and search like this?
List result = new ArrayList();
for( int i = 0; i < keywords.length; i++ )
{
String sql = "select * from table where %description% = keywords;
String searchResult = search(sql);
result.add(searchResut);
}
i am kind of stuck in making an array with user's input and searching by keyword... please help...
Thanks in advance...

