<?php require 'lib/Inter.php'; $Y = new Inter(); $id = $_POST['id']; $Y->ActualizarCitaActivo($id); echo 1;