added PDO function with query SELECT (internal server)