Bug #7043 Updated: mssql_result truncates fields that are greater than 251 chars

From: Date: Sun, 16 Jun 2002 12:24:15 +0000
Subject: Bug #7043 Updated: mssql_result truncates fields that are greater than 251 chars
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-10597@lists.php.net to get a copy of this message
ID: 7043 Updated by: sander@php.net Reported By: platiau@fucam.ac.be -Status: Open +Status: Bogus Bug Type: MSSQL related Operating System: Windows 95/NT/2000 PHP Version: 3.0.16 New Comment: Thank you for taking the time to report a problem with PHP. Unfortunately, PHP 3 is no longer supported. Please download the latest version of PHP 4 from http://www.php.net/downloads.php If you are able to reproduce the bug with one of the latest versions of PHP, please change the PHP version on this bug report to the version you tested and change the status back to "Open". Again, thank you for your continued support of PHP. Previous Comments: ------------------------------------------------------------------------ [2000-10-05 17:19:45] platiau@fucam.ac.be With php3_mssql.dll and php3_mssql70.dll Fields in the database are corrects: Table "Test" with one field "text" defined in varchar(800) When I try to display result of the table, the field "text" is truncated to 251 chars (We're running IIS5/Win2K/PHP3.0.16/MSSQL7.0) In older version of MSSQL (6.5), varchar was limited to 255 chars. Now in 7.0 version, we could go up to 8192 chars. Perharps you didn't modify the type of the varchar in the php3_mssql70.dll ... Could you test it ? Thanks Philippe Platiau ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7043&edit=1

« previous php.bugs (#10597) next »