} // END - if
// Check if at least one is in the active rallye
- $result = SQL_QUERY("SELECT
+ $result = sqlQuery("SELECT
`userid`,
`email`,
" . $pointsColumns . " AS `points`,
`last_online` DESC,
`userid` ASC", __FILE__, __LINE__);
- if (!SQL_HASZERONUMS($result)) {
+ if (!ifSqlHasZeroNums($result)) {
// List users
$OUT = '';
$count = 1;
$total = '0';
- while ($content = SQL_FETCHARRAY($result)) {
+ while ($content = sqlFetchArray($result)) {
// Add total points
$total += $content['points'];