prepare('SELECT * FROM Accomodation WHERE UserEmail = ?'); $q->execute(array($email)); return $q->fetch(PDO::FETCH_ASSOC); } }