AC_FL_RunContent = 0; DetectFlashVer = 0;
Warning: mssql_query() [
function.mssql-query]: message: Unicode data in a Unicode-only collation or ntext data cannot be sent to clients using DB-Library (such as ISQL) or ODBC version 3.7 or earlier
Próbowałam też tak
Kod
$db = new COM('ADODB.Connection');
$dsn = 'DRIVER={SQL Server}; SERVER={SBELB15002\NETIQ}; UID={SupervisionLog}; PWD={!supervision!#log!}; DATABASE={SupervisionLog}';
$db->Open($dsn);
$rs = $db->Execute("SELECT STATUS AS 'string', Status_Integer AS 'number' FROM tabela
FOR XML PATH ('row'), ROOT('chart_data'), ELEMENTS, TYPE");
i wyswietla :
Fatal error: Uncaught exception 'com_exception' with message '<b>Source:</b> ADODB.Fields<br/><b>Description:</b> Item cannot be found in the collection corresponding to the requested name or ordinal.' in D:\Inetpub\wwwroot\test\sample.php:24 Stack trace: #0 D:\Inetpub\wwwroot\test\sample.php(24): unknown() #1 {main} thrown in D:\Inetpub\wwwroot\test\sample.php on line 24