ID: 49199 Updated by: j...@php.net Reported By: lzt dot liang at tom dot com -Status: Open +Status: Feedback Bug Type: COM related Operating System: window xp and 2003 PHP Version: 5.2.10 New Comment:
I don't even know what language that might be. So what exactly is the expected and what is the actual result you get? Previous Comments: ------------------------------------------------------------------------ [2009-08-09 04:05:10] lzt dot liang at tom dot com Description: ------------ microsoft com in ado has a bug Reproduce code: --------------- <?php $conn=new COM("adodb.connection"); $conn->open("provider=sqloledb;data source=192.168.0.2,1433;User ID=sa;pwd=123;Initial Catalog=tmp"); $rs=new COM("ADODB.Recordset"); $sql="SELECT * FROM [dbo].[tmp]"; $rs->open($sql,$conn,1,3); $rs->addnew; $rs["text"]="²âÊÔ¿´¿´"; $rs->update; ?> Expected result: ---------------- please see this pic http://www.gdlydf.com/longyan/Image/2009080717103050286.jpg ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=49199&edit=1