include("config.php"); $id=635; $sql_sss8 = "UPDATE data_type_brand SET brand=brand+1 WHERE id='$id'"; $ddd=mysqli_query($conn, $sql_sss8); if($ddd){ echo "成功"; }else{ echo "失败"; } $sql="update set table1 set num=num+1 where id='123
$id=635;
$sql_sss8 = "UPDATE data_type_brand SET brand=brand+1 WHERE id='$id'";
$ddd=mysqli_query($conn, $sql_sss8);
if($ddd){
echo "成功";
}else{
echo "失败";
}