Escape method for appostrophes so they don't mess up sql queries