Re: Weird PHP Problem

From: Date: Wed, 27 Nov 2002 12:22:54 +0000
Subject: Re: Weird PHP Problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-17165@lists.php.net to get a copy of this message
Are you saying that you've defined the the field as VARCHAR(4000)? I thought VARCHAR only went up to 255?
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 Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
_________________________________________________________________ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail

« previous php.windows (#17165) next »