We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85a3c41 commit 08569c9Copy full SHA for 08569c9
public/track.php
@@ -31,7 +31,7 @@
31
$sql = "UPDATE Pictures SET Votes = Votes - 1 WHERE picID = '$photoID'";
32
33
$res = $pdo->exec($sql);
34
- var_dump($res);
+ header('Location: ' . getenv('APP_URL'));
35
} catch (\PDOException $e) {
36
throw new \PDOException($e->getMessage(), (int)$e->getCode());
37
}
0 commit comments