Hi there RiggsFolly.
Thanks for the quick reply.
I have now managed to get a connection using:
$connDynacom = sqlsrv_connect( $myServer, $connectionInfo);
My code used to be:
$connDynacom = new COM ("ADODB.Connection"
or die("Cannot start ADO"
;
$connStr = "PROVIDER=SQLOLEDB;SERVER=".$myServer.";UID=".$myUser.";PWD=".$myPass.";DATABASE=".$myDB;
$connDynacom->open($connStr); //Open the connection to the database
The connect queries are now not working. They are coded as such:
$query = 'SELECT .......";
$rs = $connDynacom->execute($query);
while (!$rs->EOF)
{
blah blah
}
Will I have to change the way they are written now?
Regards,
dClark