} // END - if
// Load all filters
- $result = SQL_QUERY('SELECT
+ $result = sqlQuery('SELECT
`filter_name`,
`filter_function`,
`filter_active`
`filter_id` ASC', __FUNCTION__, __LINE__);
// Are there entries?
- if (!SQL_HASZERONUMS($result)) {
+ if (!ifSqlHasZeroNums($result)) {
// Load all filters
- while ($filterArray = SQL_FETCHARRAY($result)) {
+ while ($filterArray = sqlFetchArray($result)) {
// Get filter name and function
$filterName = $filterArray['filter_name'];
$filterFunction = $filterArray['filter_function'];
} // END - if
// Free result
- SQL_FREERESULT($result);
+ sqlFreeResult($result);
}
// Init filters