Re: [SMARTY] Has 256 characters limitation while assign a variable?

From: Date: Mon, 30 Dec 2002 20:55:45 +0000
Subject: Re: [SMARTY] Has 256 characters limitation while assign a variable?
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-6969@lists.php.net to get a copy of this message
I'm guessing it is the field size of your database that is giving your the problem. Try changing the field type into something that can hold more data. Greetings Jan Rosier ----- Original Message ----- From: <Larry_Li@amat.com> To: "Jason Sweat" <sweatjejm@mchsi.com> Cc: <smarty-general@lists.php.net> Sent: Monday, December 30, 2002 3:05 AM Subject: Re: [SMARTY] Has 256 characters limitation while assign a variable? > > Jason, > Thanks for your email. Yes, I believe it's not smarty's problem. I just > found it's MS-SQL server's problem. When I select a variable from SQL > server, only first 255 characters was copied into php variable. > > Any solution? > > Larry > > > > --------------------------------------------------------------- -------------------------------------------------------- > > To: <smarty-general@lists.php.net>, <Larry_Li@amat.com> > cc: > "Jason Sweat" Subject: Re: [SMARTY] Has 256 characters limitation while assign a variable? > <sweatjejm@mchsi.com> > 12/27/02 08:58 PM > > > > > > > > Larry, > > I have used smarty to output string variable significantly longer than 256 > characters. Maybe some more specifics around your variable retrieval, > assignment and use in the template would help. > > Jason > ----- Original Message ----- > From: <Larry_Li@amat.com> > To: <smarty-general@lists.php.net> > Sent: Friday, December 27, 2002 1:26 AM > Subject: [SMARTY] Has 256 characters limitation while assign a variable? > > > > I used a <textarea> to edit a description info. I tried to input more > than > > 256 characters string. But when I reload it into <textarea>, I found only > > first 256 characters kept, the others was lost. I checked table, No any > > problem and it keeps all I input. I just wonder maybe there is a bug > about > > assign method? > > > > Anybody can help me out? > > > > Thanks, > > Larry > > > > > > > > -- > > Smarty General Mailing List (http://smarty.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > > > > > > > > -- > Smarty General Mailing List (http://smarty.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.smarty.general (#6969) next »