ok so....
its stripping the slashes from all post data.
then if it is not an integer it is surrounding it with '' tags, and backslashing where relevant.
now i dont understand why it doesnt write to the database in this format? surrounded with '' tags, and slashes?