Renamed all SQL-related functions to camel-case notation
[mailer.git] / inc / modules / sponsor / account.php
index 366591d57635ed3c98180015b66edb47fe14b5d0..4edb063590215aceebe1c6be2f63ea7104518111 100644 (file)
@@ -48,7 +48,7 @@ if (!defined('__SECURITY')) {
 }
 
 // Data for the formular
-$result = SQL_QUERY_ESC("SELECT
+$result = sqlQueryEscaped("SELECT
        `id`, `company`, `position`, `tax_ident`,
        `gender`, `surname`, `family`, `street_nr1`, `street_nr2`, `zip`, `city`, `country`,
        `phone`, `fax`, `cell`, `email`, `url`,
@@ -65,9 +65,9 @@ LIMIT 1",
        ), __FILE__, __LINE__);
 
 // Entry found?
-if (SQL_NUMROWS($result) == 1) {
+if (sqlNumRows($result) == 1) {
        // Load sponsor data
-       $content = SQL_FETCHARRAY($result);
+       $content = sqlFetchArray($result);
        if ($content['status'] == 'CONFIRMED') {
                // Check if form was submitted or not
                if (isFormSent()) {
@@ -137,7 +137,7 @@ if (SQL_NUMROWS($result) == 1) {
 }
 
 // Free memory
-SQL_FREERESULT($result);
+sqlFreeResult($result);
 
 // [EOF]
 ?>