Re: Addslashes limit

From: Date: Wed, 17 Dec 2003 15:18:59 +0000
Subject: Re: Addslashes limit
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-172884@lists.php.net to get a copy of this message
Cesar Cordovez wrote:
HI! Is it just me or addslahes truncates the result to 65535 chars? Any comments? Or can it be that a blob field in a MySQL database is just 65535 chars, I don't think so... Cesar.
BLOB is just 65535 chars. Use MEDIUMBLOB (2^24 bytes) or LONGBLOB (2^32 bytes). Also textarea field in browsers has a limit.

« previous php.general (#172884) next »