}
// Load some data
-$result = SQL_QUERY_ESC('SELECT
+$result = sqlQueryEscaped('SELECT
`id`,
`gender`,
`surname`,
), __FILE__, __LINE__);
// Fetch data
-$content = SQL_FETCHARRAY($result);
+$content = sqlFetchArray($result);
// Free memory
-SQL_FREERESULT($result);
+sqlFreeResult($result);
// Load main template
$GLOBALS['sponsor_output'] = loadTemplate('sponsor_welcome', TRUE, $content);