<?php | |
include "config.php"; | |
$key = $_GET['key']; | |
$query = mysql_query("DELETE FROM users WHERE hash='$key'"); | |
if ($query) { | |
echo "<h1>You have Unsubscribed!</h1>"; | |
}else{ | |
mysql_errno(); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment