oe)) { $error = false; $update = $pdo->prepare("UPDATE r_comunicazioni_utenti SET r_comunicazioni_utenti.letto = 'S' WHERE codice_comunicazione IN (SELECT codice FROM b_comunicazioni WHERE codice_ente = :codice_ente) AND codice_operatore = :codice_operatore "); $update->bindValue(":codice_operatore",$_SESSION["utente"]->oe["codice"]); $update->bindValue(":codice_ente",$_SESSION["ente"]->codice); $update->execute(); if ($update->rowCount() > 0) { ?> window.location.reload();