Bug #7043: mssql_result truncates fields that are greater than 251 chars
| From: | platiau at fucam dot ac dot be | Date: | Thu, 05 Oct 2000 21:19:45 +0000 |
| Subject: | Bug #7043: mssql_result truncates fields that are greater than 251 chars | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-34291@lists.php.net to get a copy of this message | ||
From: platiau@fucam.ac.be
Operating system: Windows 95/NT/2000
PHP version: 3.0.16
PHP Bug Type: MSSQL related
Bug description: mssql_result truncates fields that are greater than 251 chars
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