gpt4 book ai didi

php - 插入值列表与列列表不匹配 : 1136 Column count doesn't match value count at row 1

转载 作者:可可西里 更新时间:2023-11-01 12:43:46 27 4
gpt4 key购买 nike

<分区>

我看到很多人遇到这个问题,但所有答案总是指向计数与值计数不匹配,但他们都有 9 个项目,所以不确定为什么会给我这样的错误?猜猜我错过了明显的?

    $sth = "INSERT INTO `docs` (title, ref, rev, content, owner, contract_id, cat_id, created, updated)
VALUES (:title, :ref, :rev, :content, :owner, :contract :cat, NOW(), NOW())";
$q = $conn->prepare($sth);
$q->execute(array(':title'=>$title, ':ref'=>$ref, ':rev'=>$rev, ':content'=>$contnet, ':owner'=>$owner, ':contract'=>$contract, ':cat'=>$cat));

27 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com