Another great error: Fatal error: Class 'COM' not found whilst trying to use ADODB?

It seems that you are including the PHP adodb library, but then not actually using it - instead trying to instanciate a (microsoft) ADO COM object If you don't have ADO installed / working from PHP you could try using an ODBC DSN-less connection like: include('adodb5/adodb.inc. Php'); $myServer = "localhost"; $myUser = "root"; $myPass = "root"; $myDB = "database"; $db = ADONewConnection('odbc_mssql'); $dsn = "Driver={SQL Server};Server={{$myServer}};Database={{$myDB}};"; $db->Connect($dsn,$myUser,$myPass) or die($db->ErrorMsg()); if (!$rs = $db->Execute('select * from table')) die($db->ErrorMsg()); while (!$rs->EOF) { print_r($rs->fields); $rs->MoveNext(); } $rs->Close() Also see other connection examples at http://phplens.com/adodb/code.initialization.html#connect_ex.

It seems that you are including the PHP adodb library, but then not actually using it - instead trying to instanciate a (microsoft) ADO COM object. If you don't have ADO installed / working from PHP you could try using an ODBC DSN-less connection like: include('adodb5/adodb.inc. Php'); $myServer = "localhost"; $myUser = "root"; $myPass = "root"; $myDB = "database"; $db = ADONewConnection('odbc_mssql'); $dsn = "Driver={SQL Server};Server={{$myServer}};Database={{$myDB}};"; $db->Connect($dsn,$myUser,$myPass) or die($db->ErrorMsg()); if (!$rs = $db->Execute('select * from table')) die($db->ErrorMsg()); while (!$rs->EOF) { print_r($rs->fields); $rs->MoveNext(); } $rs->Close(); Also see other connection examples at http://phplens.com/adodb/code.initialization.html#connect_ex.

The most likely cause is that ADO is not correctly installed on the server. Try running the latest version of MDAC and insure it install correctly then try agin. Update your question with more information for further details.

I assume you are on a Windows Server?

The most likely cause is that ADO is not correctly installed on the server. Try running the latest version of MDAC and insure it install correctly then try agin. Update your question with more information for further details.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions