debug = true; } if (!$db) { trigger_error("Database server unavailable.", E_USER_ERROR); } return $db; } ?>