full text search query database

full text search part 2 - getting results from a query.
also some formatting stuff
also fixing ben's code