$conn=new COM("ADODB.Connection");$dsn="DRIVER={Microsoft Access Driver (*.mdb)};DBQ=".realpath("admin-templates/DB/myDB.mdb").";";
$conn->open($dsn);$sql="select * from Productcenter where pc_name='测试数据1'";
$rs = $conn->Execute($sql);报错:Catchable fatal error: Object of class variant could not be converted to string
$conn->open($dsn);$sql="select * from Productcenter where pc_name='测试数据1'";
$rs = $conn->Execute($sql);报错:Catchable fatal error: Object of class variant could not be converted to string
$sql="select * from Productcenter where pc_name='$_POST[seaValue]'"; 这样转码后 可以用么
另外 pc_name 是什么类型的?