Greetings.
I'm trying to make a select on a MSSQL ntext field and generate a JS line with it. I'm always getting the same JS error because PHP enforces a line break after the 98º character of the result.
I've tried everything known to work:
• Set textsize both on php.ini and the source code.
• Set textlimit on php.ini.
• Converting: "SELECT CONVERT(nvarchar(4000),filed_name)...." - Ive tried not only nvarcharm but other data types and it doesn't works!
And I've tried the three solutions all together. Nothing works.
I'm using SQL server 7.0 on Windows 2000 Server with IIS 5 and PHP 4.2.1
Please can someone help me? I'm desperate here...
Thanks in advance
Er Galvão Abbott