execute("set names gb23">
时间:2021-07-01 10:21:17 帮助过:5人阅读
$RootDir = $_SERVER['DOCUMENT_ROOT'];
define('ROOT',$RootDir);
$path = ROOT.'/Project/01/db/db_meeting.accdb';
echo "$path";
include "../adodb/adodb.inc.php";
$conn = ADONewConnection('access');
$conn->Pconnect("Driver={Microsoft Access Driver (*.accdb)};Dbq=$path");
$conn->execute("set names gb2312");
print $conn->ErrorMsg();
?>