RE: [PHP-WIN] Weird PHP Problem
| From: | Rich Gray | Date: | Wed, 27 Nov 2002 12:15:09 +0000 |
| Subject: | RE: [PHP-WIN] Weird PHP Problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17163@lists.php.net to get a copy of this message | ||
When you say the 'first part of the string' do you mean it returns only the
string up to the 1st space character? Can you provide an example with code?
-----Original Message-----
From: Becky Gruebmeyer [mailto:becky@monkey-boy.com]
Sent: 27 November 2002 11:24
To: php-windows@lists.php.net
Subject: [PHP-WIN] Weird PHP Problem
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?