Re: Weird PHP Problem
| From: | Adam Voigt | Date: | Wed, 27 Nov 2002 13:59:46 +0000 |
| Subject: | Re: Weird PHP Problem | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-91804@lists.php.net to get a copy of this message | ||
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@cryptocomm.com)
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc