$result_main = FALSE;
if (isGetRequestElementSet('userid')) {
// Load user entry
- $result_main = SQL_QUERY_ESC("SELECT
+ $result_main = sqlQueryEscaped("SELECT
`userid`, `gender`, `surname`, `family`, `street_nr`, `zip`, `city`, `country`,
`email`,
`birth_day`, `birth_month`, `birth_year`,
), __FILE__, __LINE__);
} // END - if
-if ((!isGetRequestElementSet('userid')) || (SQL_NUMROWS($result_main) == 1)) {
+if ((!isGetRequestElementSet('userid')) || (sqlNumRows($result_main) == 1)) {
// User found
if (!isGetRequestElementSet('userid')) {
// Output selection form with all confirmed user accounts listed
if ($updateUser === TRUE) {
// We have to add the following things: birthday and max receive mails
- SQL_QUERY_ESC("UPDATE
+ sqlQueryEscaped("UPDATE
`{?_MYSQL_PREFIX?}_user_data`
SET
`gender`='%s',
displayMessage($content);
} else {
// Load entry
- $content = SQL_FETCHARRAY($result_main);
+ $content = sqlFetchArray($result_main);
// Load template
loadTemplate('admin_edit_user', FALSE, $content);
}
// Free the result
-SQL_FREERESULT($result_main);
+sqlFreeResult($result_main);
// [EOF]
?>