function getBillingPreview() { global $messages; $billPreview = AccountManager::getBillingPreview($_SESSION['accountId']); $messages = $billPreview; }