Returns an error and does not delete the entry, what could be the problem?
public function del(){
echo "<h1>DEL</h1> method of ".get_class($this);
$params = explode("?", $_SERVER["REQUEST_URI"]);
$params = $params[1];
parse_str($params, $arr);
vd($arr);
$mysqli = new \mysqli("localhost", "root", "", "quest");
$mysqli -> query ("DELETE FROM users WHERE id = '{$arr["id"]}'");
}