Parse large string from flash to MySQL with PHP

Hey,

I’m trying to parse some big strings containing html code to store in MySQL.
I can’t make it work. I’ve tried with different data types, but I think the ‘text’ type is the correct one to use… different engine types as well but it don’t store the whole string, just parts of it.

It’s really bad, really need help.