PHP-Fusion Development

blacklist()

UF blacklist for SQL.

Versions: 9

blacklist( string $field ) : string

Parameters

$field (string) (Required) User ID field.

Return Values

(string) It can return an empty condition if the user_blacklist field is not installed.

Examples

$result = dbquery("SELECT user_id, user_name
FROM ".DB_USERS."
WHERE ".blacklist('user_id')."
");