]> git.mxchange.org Git - mailer.git/blobdiff - inc/modules/admin/what-list_network_array_translation.php
Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / admin / what-list_network_array_translation.php
index dde0c0724b769ba9ce692b18884fc5cf60a7aacc..202791f80f9e1561b99cb0e56db582da2abe4186 100644 (file)
@@ -86,7 +86,7 @@ if (isGetRequestElementSet('network_id')) {
        } // END - if
 
        // Load all advert codes for given network
-       $result = SQL_QUERY_ESC("SELECT
+       $result = sqlQueryEscaped("SELECT
        `p`.`network_array_id`,
        `t`.`network_type_id`,
        `t`.`network_type_handler`,
@@ -109,10 +109,10 @@ ORDER BY
                ), __FILE__, __LINE__);
 
        // Are there entries?
-       if (!SQL_HASZERONUMS($result)) {
+       if (!ifSqlHasZeroNums($result)) {
                // List all entries
                $OUT = '';
-               while ($row = SQL_FETCHARRAY($result)) {
+               while ($row = sqlFetchArray($result)) {
                        // Add it to network if the type matches selected
                        if ($row['network_type_id'] == postRequestElement('network_type_id')) {
                                // Matches, then add it for disabling this entry
@@ -137,7 +137,7 @@ ORDER BY
        }
 
        // Free result
-       SQL_FREERESULT($result);
+       sqlFreeResult($result);
 
        // Add form for adding new array_translation pair
        loadTemplate('admin_add_network_array_translation', FALSE, $networkData);