query("update ".$_REQUEST['type']." set status='".$_REQUEST['status']."' where id='".$_REQUEST['record']."'"); header("Location: ReminderWindow.php"); mysql_close($sql); ?>