Programming Reference:Functions:CCGetFromGet

From CodeCharge Studio Community Wiki

Jump to: navigation, search

Description
Retrieves a value of the GET input parameter. The function first attempts to retrieve the parameter from the GET query string and if no value is returned the function returns the default value specified in the function call.

Location
Common

Syntax

CCGetFromGet(ParameterName, DefaultValue)

Return value
string


Parameters

Name Type Description Required
ParameterName string Name of the parameter to retrieve. Yes
DefaultValue string The value to be assigned if the given parameter has no value. It can be an empty string. Yes


See also:
CCGetParam function, CCGetFromPost function

Personal tools