Collections functions
Encryption functions
General functions
Render functions
Theme permission functions
Video functions
Resource functions

getvalescaped()

Description

Return a value from get/post/cookie, escaped and SQL-safe

It should not be relied upon for XSS. Sanitising output should be done when needed by developer

the function will return the default value

Parameters

ColumnTypeDefaultDescription
$val string
$default string|array The fallback value if not found
$force_numeric boolean false Set to TRUE if we want only numeric values. If returned value is not numeric

Return

string|array

This article was last updated 30th November 2020 20:05 Europe/London time based on the source file dated 30th November 2020 09:45 Europe/London time.