Click to See Complete Forum and Search --> : PHP: string 255 char limit problem


mazeroth
10-28-2003, 03:05 PM
Hi people, I need some help. When ever I return a query from a MS SQL2000 DB such as a lengthy description, it's always limited to 255 chars. I can't seem to figure out how to fix this problem. What can I do to get rid of this 255 char limit on strings? or is it a limit of the amount of characters that can be returned by the query? The table field is set to a varchar of 1100, so the problem isn't with the DB. Thanks for your help.

Lorithar
10-30-2003, 09:27 PM
MSsql reference page a php.net (http://ca3.php.net/manual/en/ref.mssql.php)

Perhaps
PHP.INI:
;mssql.textlimit= xxxx
;mssql.textsize= xxxx

might have something to do with it?