php 提交编辑数据没有变,返回0,判断
php 提交编辑数据没有变,返回0,判断
以TP为例子
$edit = D('Brand')->save($data);
if($edit == true){
echo "修改成功";
}else{
echo "修改失败";
}
php 提交编辑数据没有变,返回0,判断
以TP为例子
$edit = D('Brand')->save($data);
if($edit == true){
echo "修改成功";
}else{
echo "修改失败";
}