RE: [PHP] Help!!! DB field data is truncated!!!!!

From: Date: Wed, 26 Jul 2000 19:37:50 +0000
Subject: RE: [PHP] Help!!! DB field data is truncated!!!!!
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-8219@lists.php.net to get a copy of this message
I thought VARCHAR was limited to 255 characters.... try changing the field type to TEXT and see if that fixes the problem. John -----Original Message----- From: Zack Beatty [mailto:ZackB@mamamedia.com] Sent: Tuesday, July 25, 2000 10:38 PM To: 'php-general@lists.php.net ' Subject: [PHP] Help!!! DB field data is truncated!!!!! Any information that I pull from my SQL Server database get cut off after a certain number of characters. It is a field of type "varchar" with the maximum length of 8000. When I get the field data, only half of the paragraph is outputted by PHP. When I manually go into the database, I can copy the entire row (and paste it into notepad) to determine that the data is successfully in the database. It just gets "chopped off" before being displayed as HTML. Any suggestions would be appreciated. Thanks. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net For additional commands, e-mail: php-general-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.general (#8219) next »