The method returns None. If a query was executed, the returned values can be retrieved using fetch*() methods.
self.cursor.execute('...').fetchall(), а self.cursor.execute('...')
self.curosr.fetchall()
$_SERVER['HTTP_HOST']