i would use longtext as a datatype. or just store the content in the filesystem.
remember to escape the text before saving it to the database. you might consider mysql_real_escape_string() to do this. note that you need to be connected to the db server and database before using this command. if this is not feasible then use mysql_escape_string() instead.
remember also that if you want to display the output you just echo the content of the field. if you want to give users the chance to edit the output and html you must echo html_entities($string) inside the textarea. bespoke controls (ie wysisig editors) may have their own requirements.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.