prepare($req); $prep->bindValue(':id', $id); $prep->execute(); $auth = $prep->fetch(PDO::FETCH_ASSOC); $prep->closeCursor(); return $auth; }