I'm connecting to a mssql from PHP on linux to insert a record
$conn = odbc_connect("mssqlodbc", "uid", "pwd");
odbc_autocommit($conn, FALSE);
odbc_exec($conn, "use domain2");
$result = odbc_exec($conn, $sql);
odbc_exec gives me a strange warningf
Warning: odbc_exec(): SQL error: ??N , SQL state 00000 in SQLExecDirect
if I read the odbc_errmsg the result is random 3 characters strings like P?N NN ... always different that have no sense (I think)
Can you please help me?