fixup! WIP more stuff lol
This commit is contained in:
@@ -20,7 +20,7 @@ $projectID = $_GET['id'];
|
||||
|
||||
$query = 'DELETE FROM project WHERE id=:projectID';
|
||||
$statement = $pdo->prepare($query);
|
||||
$statement->bindParam(':projectID', $projectID, PDO::PARAM_INT);
|
||||
$statement->bindValue(':projectID', $projectID, PDO::PARAM_INT);
|
||||
$statement->execute();
|
||||
|
||||
header('Location: ' . $_SERVER['HTTP_REFERER']);
|
||||
|
||||
Reference in New Issue
Block a user