PHP and the MSSQL funcs

admin

Administrator
Staff member
i have php4 on a linux box connecting to a microsoft SQL database using FreeTDS. i also have an NT box doing the same thing over ODBC.
i build 2 pages querying the database for a large textfield. on the NT box using odbc_do($id,$query) it works fine. the results are 2 pages long. on the linuxbox however, the results get cut down to some 250 (probably 255) chars! i would hate to switch completely to the NT box so my question is:
how can i get the whole result and not just the furst 250 chars using the MSSQL_query function from php?

any help would be greatly appreciated.

mailto:[email protected]
 
Back
Top