Justtechjobs.com Find a programming school near you






Online Campus Both


php-developer-list | 2002112

[PHP-DEV] Re: Weird PHP Problem From: colin mcdonald (colin <email protected>)
Date: 11/27/02

Try Looking at this parameter in the php.ini:

; Valid range 0 - 2147483647. Default = 4096.
mssql.textlimit = 65536

; Valid range 0 - 2147483647. Default = 4096.
mssql.textsize = 65536

colin

"Becky Gruebmeyer" <becky <email protected>> wrote in message
news:20021127112046.64335.qmail <email protected>
> Ok...Using newest version of PHP on an NT IIS machine with a SQL 2000
> database. Here is the issue:
>
> I have a nvarchar field with a size of 4000.
> I submit a text string from a form to this field.
> It will display on submit using echo nl2br($variable) and it will display
> fine.
> When I look in the database, it has all the information stored correctly.
> When I pull it back out of the database, it cuts it off and only displays
> the first part of the string.
>
> Anyone have any ideas why?
>
>

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php