Finished getParameter, and using '%' properly in sqlite query.