I’m writing a customized content management system and am using a MEDIUMTEXT because there’s a chance an entry will exceed 65,535 characters. MEDIUMTEXT fields can have up to 16,777,215 bytes. 99.9% of the text input by users will be less than 65K, probably A LOT less.
These fields will contain nothing but HTML.
My question is:
Will PHP be able to handle a string that large?
If I have a field that has a MEDIUMTEXT field assigned to the variable $webtext will this code work to create a web page?
[b]
<?PHP printf("%s%s",$headerinfo,$webtext); ?> [/b] If not, what other approach would you recommend? Thanks!