isSupportoOrRoot() && $_SESSION["utente"]->permission($radice)) { if (!empty($_POST["codice"]) && !empty($_POST["json"])) { $r = $pdo->go("UPDATE b_guue SET valori = :valori WHERE codice = :codice",[":valori" => $_POST["json"], ":codice" => $_POST["codice"]]); if ($r->errorInfo()[0] === "00000") { ?> Swal({ title : "", html : "", type: "success", confirmButtonText : "Ok", })() Swal({ title : "", html : "", type: "error", confirmButtonText : "Ok", })() Swal({ title : "", html : "", type: "error", confirmButtonText : "Ok", })()