Re: [SMARTY] Has 256 characters limitation while assign a variable?
| From: | Jason Sweat | Date: | Mon, 30 Dec 2002 03:30:51 +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-6966@lists.php.net to get a copy of this message | ||
Larry,
I have limited experience with MySQL, and when I do use it, I always use
ADOdb http://php.weblogs.com/ADOdb as a database
abstraction layer. The
times I have extracted a long field and populated a Smarty template, I have
been using ADOdb with Oracle without any problems.
Sorry I can't be of more help.
Jason
----- Original Message -----
From: <Larry_Li@amat.com>
To: "Jason Sweat" <sweatjejm@mchsi.com>
Cc: <smarty-general@lists.php.net>
Sent: Sunday, December 29, 2002 8:05 PM
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
>
>