[消息:保护] => SQLSTATE [23000]:完整性约束违规:1062重复条目'AD'关键'PRIMARY',查询是:INSERT INTO`directory_country`(`country_id`,`iso2_code`,`iso3_code`)VALUES (?,?,?)
试图解决,谢谢
your trying to add values but the values are not quoted.
Try adding quotes around your ?, although I have no idea why your trying to add a question mark as a country name....