Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-list_bank_package.php
index fe377f50498907927d1638731940e59fc7342eb0..f4a571669a9eed818001cb5cbdf910e5ed44a44e 100644 (file)
@@ -164,7 +164,7 @@ if (ifPostContainsSelections('id')) {
 if ($show === FALSE) return;
 
 // Load all banking packages from DB
-$result = SQL_QUERY('SELECT
+$result = sqlQuery('SELECT
        `id`,
        `title`,
        `description`,
@@ -178,10 +178,10 @@ ORDER BY
        `id` ASC', __FILE__, __LINE__);
 
 // Is there at lease one package?
-if (!SQL_HASZERONUMS($result)) {
+if (!ifSqlHasZeroNums($result)) {
        // List all packages
        $OUT = '';
-       while ($content = SQL_FETCHARRAY($result)) {
+       while ($content = sqlFetchArray($result)) {
                // Load row template
                $OUT .= loadTemplate('admin_list_bank_package_row', TRUE, $content);
        } // END - while
@@ -194,7 +194,7 @@ if (!SQL_HASZERONUMS($result)) {
 }
 
 // Free the result
-SQL_FREERESULT($result);
+sqlFreeResult($result);
 
 // [EOF]
 ?>