Re: Size Limit PHP + MSSQL
| From: | Frank M. Kromann | Date: | Fri, 23 Feb 2007 20:29:34 +0000 |
| Subject: | Re: Size Limit PHP + MSSQL | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-249316@lists.php.net to get a copy of this message | ||
There are two settings in php.ini mssql.textsize and mssql.textlimit. When
tese are set to -1 (default) the values used are configured on the server
and is usually 4k.
- Frank
> Is there size limit for select queries in php?
>
> I am trying to grab a very long string that exists in the database.
> When I do a select and print it out, php keep truncating the string -
only
> outputing the first half or so when the string is too long.
> I have checked the actual database and the string is complete.
> I havent gone as far as checking the actual length of the string and
the
> length that is being printed..
> Any ideas why php keep truncating my data?
> I've tested it with asp and it successfully outputs the complete
data...
> Thank you!
>