delete from table_name where column_name = some_value
你没有明白我的意思,我是说PHP连接ACCESS中,怎么删除数据啊
$conn = new com("ADODB.Connection"); $connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" . realpath("db_name.mdb"); $conn->Open($connstr); $conn->Execute("delete from tbl_name where ...");
Warning: (null)(): Unable to lookup excute: 未知名称。 in C:\phpnews\headfoot\model.php on line 48Warning: (null)(): Unable to lookup excute: 未知名称。 in C:\phpnews\headfoot\model.php on line 48 错误
$conn = new com("ADODB.Connection");
$connstr = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" . realpath("db_name.mdb");
$conn->Open($connstr);
$conn->Execute("delete from tbl_name where ...");
错误