Contents |
ValidForm::get
ValidForm::get — Gets value from request array (`$_GET`, `$_POST`, `$_COOKIE`)
Description
get (string $param, [bool $replaceEmpty]);
Gets value from request array (`$_GET`, `$_POST`, `$_COOKIE`)
Parameters
- param
The value you want to get from the request array. Example:
//*** Request URI: ?value=test, echo $_GET["value"] will return "test"
$strTestValue = ValidForm::get("value");
echo $strTestValue; // Returns "test"
- replaceEmpty
Puts the area in interactive mode. Default value false.
Return values
Returns the value of the parameter.

