Function: reqvar_value()

function reqvar_value(string $name): mixed;

Function for getting value of a request variable.

Details

This function checks wether the request variable exists and returns its value. If the request variable does not exist, an empty value is returned.

Parameters

Name Pass type Value type Default value Description
$name by value string

Name of the request variable how it is written in the form fields.

Returns

mixed

The value of the request variable or an empty string.

Authors

Oleg Schildt

Package

Source code