我有问题是我的更新要求没有更新我的基础
但是我不知道我的问题在哪里
function updatePartenaire($array=array()){
$db =dataBase();
echo " in function ";
$req= "UPDATE parteners SET typeAction ='".$array['type']."' WHERE partener_id ='".$array['id']."'";
echo "$req";
$prepare=mysqli_prepare($db,$req);
echo "end prepare \r\n";
mysqli_stmt_execute($prepare);
echo "end execute \r\n";
echo "end function";
}
[我从网络部长那里抓到的回复]
Loading Page ajaxReq.Controller.php Page load sucesse
page value : partenaire
Load Page : partenaire
Catche value action : updatefile find
type Action : update
Catche value type : 4 Catche value id : 75array(2) {
["type"]=>
string(1) "4"
["id"]=>
string(2) "75"
}
function existe
start function updatePartenaire in function UPDATE parteners SET typeAction ='4' WHERE partener_id ='75'end prepare
end execute
end function
我到处都有评论者,以查看它的停止位置,但是它一直运行到最后而没有任何错误
我已经复制了请求并在数据库控制台中执行。 没有错误,我的数据库已更新(相同的请求),并且我再次检查了数据库连接配置是否正确