/home/techb158/workloadmatch.com/workloadmatch.com/BackUp/Manager/core
NameSizeModeActions
add-event-json.php22700644editdlrm
add-event.php8280644editdlrm
edit-date-json.php8070644editdlrm
edit-date.php7820644editdlrm
edit-title-json.php8740644editdlrm
editEventTitle.php11990644editdlrm
Edit: /home/techb158/workloadmatch.com/workloadmatch.com/BackUp/Manager/core/editEventTitle.php (1199B)
prepare($sql); if ($prepareQuery == false) { print_r($auth->errorInfo()); die ('Error preparing the query.'); } $executeQuery = $prepareQuery->execute(); if ($executeQuery == false) { print_r($prepareQuery->errorInfo()); die ('Error executing the query.'); } } else if (isset($_POST['title']) && isset($_POST['description']) && isset($_POST['color']) && isset($_POST['id'])){ $id = $_POST['id']; $title = $_POST['title']; $description = $_POST['description']; $color = $_POST['color']; $sql = "UPDATE events SET title = '$title', description = '$description', color = '$color' WHERE id = $id "; $prepareQuery = $auth->prepare($sql); if ($prepareQuery == false) { print_r($auth->errorInfo()); die ('Error preparing the query.'); } $executeQuery = $prepareQuery->execute(); if ($executeQuery == false) { print_r($prepareQuery->errorInfo()); die ('Error executing the query.'); } } header('Location: ../index.php'); ?>