Sanitize input values from POST
Parameters | |||
---|---|---|---|
mixed
|
$name = null |
(Optional) The name in $_POST to be sanitized; if it is omitted, the whole array of $_POST will be sanitized |
# |
Returns | |
---|---|
mixed
|
the cleaned value or array of values |