%@ $Language=JScript /* PARA COLORES PHP */ %><% include("../includes/DB_Conectar.php"); /*toma la seguridad de la página admForMensajes.php*/ $admABMLink_manual="admForMensajes.php"; include("../includes/inc_auth.php"); include("../includes/funciones.php"); //aca proceso las posibilidades if($id!="" && $accion=="Actualizar") { //actualizo $squpdate = "update forTema set temTitulo = '$temTitulo', temAutor = '$temAutor', temAutorEmail = '$temAutorEmail', temContenido = '$temContenido' where temID = '$id'"; $qrupdate = $conn->execute($squpdate); $msje=$I_dataupdated; } if($id!="" && $accion=="Borrar") { //borro $sqdele = "delete from forTema where temID = '$id'"; $qrdele = $conn->execute($sqdele); $id = ""; $msje=$I_recorddeleted; } %>