note 19458 added to ref.com

From: Date: Thu, 28 Feb 2002 02:11:00 +0000
Subject: note 19458 added to ref.com
Groups: php.notes 
Request: Send a blank email to php-notes+get-27147@lists.php.net to get a copy of this message
now in PHP >=4.0.6 programming in window can use the ADO through the COM like this: $dbconn=new COM ("ADODB.Connection") or die ("connection create fail"); $dbconn->Open("Provider=sqloledb;Data Source=ndht;Initial Catalog=printers;User Id=printers;Password=printers;"); $rec=new COM("ADODB.Recordset") or die ("create Recordset error"); while (!$rec->EOF) { echo $rec->fields["fieldname"]->value."<br>"; $rec->movenext(); } $rec->close(); $dbconn->close(); but there's still a little question of working with the image field of mssql server. -- http://www.php.net/manual/en/ref.com.php http://master.php.net/manage/user-notes.php?action=edit+19458 http://master.php.net/manage/user-notes.php?action=delete+19458 http://master.php.net/manage/user-notes.php?action=reject+19458

« previous php.notes (#27147) next »