Getting the access levels used when asking the database for data.
groupaccess( string $field [, string $delim ] ) : string
$field (string) (Required) MySQL's field from which you want to check access.
$delim (string) (Optional) Delimiter. Default value: ,
(string) The part of WHERE clause, always returns a condition.
$result = dbquery("SELECT item, access
FROM ".DB_TABLE."
WHERE ".groupaccess('access')."
ORDER BY item DESC
");