View Single Post
Old 07-06-07, 11:28 AM   #3
Registered User
Join Date: Jul 2005
Posts: 3,606
Default Re: Storing Text Area into MySQL Database...

1) I use TEXT (65535 characters). Other choices can be BLOB (binary). In your case TEXT would be better than CHAR or VARCHAR. See

2) TEXT is 65535, or 2^16

3) $_POST['Comments'] but you better be sure you substr(mysql_escape_string($_POST['Comments']),0,65535)
evilghost is offline   Reply With Quote