php-developer-list | 2002112

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

Yep, NVARCHAR's get pissy at large sizes (in my experience anyway) when
PHP is interacting with them, (or any of the "N" variables for that
matter) change it to a TEXT and see what happens.

On Wed, 2002-11-27 at 06:20, Becky Gruebmeyer wrote:
> 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
>

-- 
Adam Voigt (adam <email protected>)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc