Bug #11923 Updated: when you access char(2000),i only get 255 bytes data, why ?
| From: | chenwumail at 163 dot net | Date: | Fri, 06 Jul 2001 09:19:11 +0000 |
| Subject: | Bug #11923 Updated: when you access char(2000),i only get 255 bytes data, why ? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-59064@lists.php.net to get a copy of this message | ||
ID: 11923
User Update by: chenwumail@163.net
Status: Open
Bug Type: MSSQL related
Operating system: Windows2000
PHP Version: 4.0.5
Description: when you access char(2000),i only get 255 bytes data, why ?
My SQL Server is SQL Server 2000,
My PHP is PHP 4.05
My OS is windows 2000
My table name is news,defined like:
keyword varchar(2000),
content text
I can save data to keyword but when i get is ,it only 255 bytes, I view database, data is true save
in table.
example:
$result=mssql_query("select keyword from news");
print strlent(mssql_result($result,0,0));
-------
255
Previous Comments:
---------------------------------------------------------------------------
[2001-07-06 05:14:23] chenwumail@163.net
when you access char(2000),i only get 255 bytes data, why ?
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=11923