Re: Re: select a varchar(2048) field, but it show only first 255 characters
| From: | Antoine Angénieux | Date: | Thu, 26 Jun 2003 14:13:11 +0000 |
| Subject: | Re: Re: select a varchar(2048) field, but it show only first 255 characters | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-17756@lists.php.net to get a copy of this message | ||
I had this problem. You have to specify the following directive in your php.ini file :
mssql.textsize = -1
for example, for unlimited size.
But you can specify any maximum lenght you wish..
Hope this helps!
Antoine.
Roberto Balet wrote:
i use sql server from microsoft... and there i see the whole text, but if i select the field in php, then it show only the first 255 characters "Roberto Balet" <roberto.balet@onstage.ch> wrote in message news:20030626134205.22210.qmail@pb1.pair.com...-- Antoine ANGENIEUX http://www.clever-age.com Clever Age - conseil en architecture technique GSM: +33 6 63 58 36 95 Tél: +33 1 49 01 28 63hello i do my db connections with pear. if i want do a select statement for example: name is varchar(2048) select name from table; after when i want read this field on browser, then only the first 255 characters will be shown.. is this a php or a pear problem? who can solve this problem? thank you roberto