Re: Weird PHP Problem
| From: | David Elliott | Date: | Wed, 27 Nov 2002 13:07:29 +0000 |
| Subject: | Re: Weird PHP Problem | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-17168@lists.php.net to get a copy of this message | ||
Greetings Becky
On 27 November 2002 at 06:23:58 -0500 (which was 11:23 where I live) Becky
Gruebmeyer emanated these words of wisdom
> 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?
I think that i had this problem once. I seam to remember that I had to cast
the columnn as text or something like that.
--
BBFN, _______________________________________________
David | David Elliott | Software Engineer |
_________________________| list@elliott.uk.com | PGP Key ID 0x650F4534 |
| Now there's a mind like a steel sieve. |