I use PHP 4.3.3 and MSSQL-server 7.0 and use an ODBC-connection.
My problem is that if "mixed-field" in php-function odbc_result() is more than 31 characters long.
eg.
SELECT user_id AS tbl_useruser_id FROM tbl_user
|...
$result = odbc_result($rs, 'tbl_useruser_id');
If the text marked red is over 31 characters PHP refusees to print out the sql-result.
Is this possible to fix this without:
- changing PHP version
- changing MSSQL-server-version
- changing length of the red text